Project

General

Profile

Actions

Bug #9106

closed

If properties.d doesn't exists, cf-promises fails with an "error 'cf_null'"

Added by François ARMAND about 8 years ago. Updated about 8 years ago.

Status:
Rejected
Priority:
N/A
Assignee:
-
Category:
System techniques
Target version:
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.


Related issues 1 (0 open1 closed)

Is duplicate of Rudder - Bug #9087: Error on promises generation when there are no properties filesRejectedActions
Actions

Also available in: Atom PDF