You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DataItem::access() recurses down into complex properties, so calling access() on root calls it on everything.
This causes problems with certain structures and default values, particularly with single-valued complex data. Consider the following property structure:
DataItem::access() recurses down into complex properties, so calling access() on root calls it on everything.
This causes problems with certain structures and default values, particularly with single-valued complex data. Consider the following property structure:
When the data is first instantiated, nothing is set.
Calling access() causes the following
This is not OK, because we now have this data:
The user has not set the optional complex_single, but it now exists with a value set!
This situation exists in DCB:
Currently, calling access() on the DCB data root will cause the module to have an admin settings form by default, which is not intended.
The text was updated successfully, but these errors were encountered: