Actions
Bug #13634
closedGeneric Method "File copy from remote source" does not report when copying a directory
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
Fix check:
Regression:
Description
Somehow, the recursion level of the generic method is hardcoded to 0. Leading to missing reports when dealing with a directory since cfengine can not "produce" any
classes from the 0 level recursion of the directory....
We can change the recursion level to inf to fix this, even if the GM is called "file_from" its description explicitly says "Ensure that a file or directory is copied".
Even with this, we should add a check in the GM to be sure that if no classes are "produced", there will be an error message and not a missing report in the webapp and nothing in the agent logs.
Updated by Félix DALLIDET about 6 years ago
- Status changed from New to In progress
- Assignee set to Félix DALLIDET
Updated by Félix DALLIDET about 6 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from Félix DALLIDET to Alexis Mousset
- Pull Request set to https://github.com/Normation/ncf/pull/841
Updated by Vincent MEMBRÉ about 6 years ago
- Target version changed from 4.1.15 to 4.1.16
Updated by Félix DALLIDET about 6 years ago
- Status changed from Pending technical review to Pending release
Applied in changeset 60594f6bdbee4733963c4c5e8f92e1fefc2ab92b.
Updated by Nicolas CHARLES about 6 years ago
- Subject changed from file_from_shared_folder does not report when trying to copy a directory to Generic Method "File copy from remote source" does not report when copying a directory
Updated by Vincent MEMBRÉ about 6 years ago
- Status changed from Pending release to Released
Updated by Alexis Mousset over 2 years ago
- Project changed from 41 to Rudder
- Category changed from Generic methods - File Management to Generic methods
Actions