Actions
Bug #26863
openError when saving cloned technique after removing resource
Pull Request:
Severity:
Minor - inconvenience | misleading | easy workaround
UX impact:
I dislike using that feature
User visibility:
Getting started - demo | first install | Technique editor and level 1 Techniques
Effort required:
Priority:
74
Name check:
To do
Fix check:
To do
Regression:
No
Description
- Clone a technique that contains a resource ;
- Go to resources management, delete the resource file ;
- Make changes to the technique (the cloned version doesn't use the resource)
- Save the technique
Produces message (see screenshot) :
Error when saving technique: SystemError: Error when moving resource file from workspace to final destination; cause was: java.nio.file.DirectoryNotEmptyException: /var/rudder/configuration-repository/techniques/ncf_techniques/mandos_servers_checks/1.0/resources -> com.normation.rudder.rest.lift.TechniqueApi$CreateTechnique$.$anonfun$moveRessources$1(TechniqueApi.scala:404)
Files
No data to display
Actions