-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Nulls returned for varybyculture fields #14997
Copy link
Copy link
Closed
Labels
affected/v12area/backendstate/reproducedWe have reproduced the issueWe have reproduced the issuestate/sprint-candidateWe're trying to get this in a sprint at HQ in the next few weeksWe're trying to get this in a sprint at HQ in the next few weeksstatus/regressionA previously working feature that has broken or changed behavior unexpectedlyA previously working feature that has broken or changed behavior unexpectedlytype/bug
Metadata
Metadata
Assignees
Labels
affected/v12area/backendstate/reproducedWe have reproduced the issueWe have reproduced the issuestate/sprint-candidateWe're trying to get this in a sprint at HQ in the next few weeksWe're trying to get this in a sprint at HQ in the next few weeksstatus/regressionA previously working feature that has broken or changed behavior unexpectedlyA previously working feature that has broken or changed behavior unexpectedlytype/bug
Which Umbraco version are you using? (Please write the exact version, example: 10.1.0)
12.2.0
Bug summary
Null instead of actual value being returned on varybyculture fields
Specifics
One of our websites has many cultures. If I upgrade that website past 11.2.2 (even the very next version 11.3.0) then I get null reference exceptions when I try to access certain values whether or not they have a value set.
In my case the first erroring value is a bool (true/false) set on a page inherited from a composition
although the values are returned in the non-public members _content
Steps to reproduce
I'll try not to be too confusing here but this is on a page that inherits 'modules' data type from a base composition which is varybyculture nested content which allows certain modules that also inherit from a base module composition type that receive these fields such as 'fullbleed' etc
The website was originally created on umbraco 9 beta but has been steadily upgraded through almost every version in its lifetime until we hit this version and started receiving these null reference errors.
Expected result / actual result
Expected: Value saved in CMS to be returned
Actual: Null reference exception
This item has been added to our backlog AB#34580