-
Bug
-
Resolution: Fixed
-
Major
-
None
-
None
-
-
Empty show more show less
-
Saigon 160
-
5
If the properties of a model are supplied via the YAML map syntax, and have no sub properties (such as "type" or "i18n"), then the Detail subapp of a created app will not show a field for the property.
And, if none of the properties has a subfield - then the entire Detail subapp will not be created in the app.
Since this can be unexpected, we should log an error when such a definition is detected, and ideally report in the problems view of the definition to.
Use the following YAML to reproduce:
contentTypes/bike.yaml
datasource:
workspace: bikes
autoCreate: true
model:
properties:
title:
color:
(title and color are supplied via YAML map syntax.)
apps/bikes.yaml
!with-type:bike label: Bikes
Acceptance criteria
- mentioned in
-
Page Loading...