Labels have incorrect generated type #17192
Labels
affected/v14
affected/v15
area/backend
state/reproduced
state/sprint-candidate
We're trying to get this in a sprint at HQ in the next few weeks
type/bug
Which Umbraco version are you using? (Please write the exact version, example: 10.1.0)
14.0.0 to 15.0.0-rc1
Bug summary
Prior to V14 labels would generate with their configured type
i.e
Label (integer)
with the Value type set toInteger
would generate as anint
Since upgrading to V14 all labels are generated as strings
Specifics
No response
Steps to reproduce
Generate models and observe that for an Umbraco default such as
Image
in the Media Types folder has the propertiesumbracoWidth
= Label (integer)umbracoHeight
= Label (integer)Which were previously generated as
int
, whereas now are generated asstring
Expected result / actual result
Expected:
The selected value type is used when generating models
Actual:
All labels are generated as strings regardless of value type
This item has been added to our backlog AB#45486
The text was updated successfully, but these errors were encountered: