-
Bug
-
Resolution: Not an issue
-
Major
-
None
-
5.5.5
-
None
Situation:
The component exists with a DateField in its dialog. But the field value is empty (for example a new added field or never chosen a date to store). So there exists no correlating property.
Result:
The method info.magnolia.ui.form.field.factory.DateFieldFactory.getConfiguredDefaultValue() is never called.
Reason:
In the method
{{info.magnolia.ui.form.field.factory.AbstractFieldFactory.setPropertyDataSourceAndDefaultValue(Property)}
the boolean expression ((ItemAdapter) item).isNew() is returning false.
Acceptance criteria
- relates to
-
MGNLUI-4271 DateField: default value can not be set -> yaml parses the Date (and Time) String automatically
- Closed