Actions
Bug #9106
closedIf properties.d doesn't exists, cf-promises fails with an "error 'cf_null'"
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:
Description
We added a feature that allows to load all json in cf-enfine agent sys sub directory "properties.d".
If that directory doesn't exists, cf-promise fails with the message:
error: readjson: data error parsing JSON file 'cf_null': No data
The culprit seems to be inputs.new/common/1.0/properties.cf:
"properties_files" slist => findfiles("${sys.workdir}/inputs/properties.d/*.json");
We need to just assume there is not properties to load if that directory is missing.
Updated by François ARMAND about 8 years ago
Actually, it needs both the directory AND at least a json file in it to not display errors.
Updated by Nicolas CHARLES about 8 years ago
- Related to Bug #9087: Error on promises generation when there are no properties files added
Updated by François ARMAND about 8 years ago
- Related to deleted (Bug #9087: Error on promises generation when there are no properties files)
Updated by François ARMAND about 8 years ago
- Is duplicate of Bug #9087: Error on promises generation when there are no properties files added
Updated by François ARMAND about 8 years ago
- Status changed from New to Rejected
Actions