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
There seem to be a bug with Enum array parsing in the framework silverstripe/silverstripe-framework#10435, as a precaution switch to a notation that doesn't break by this issue.
Present in Silverstripe 4.9 and 4.11: see this forum thread for a real world example of this issue.
Defining a field with the above spec throws the following error:
The same fieldspec in different formats works fine:
After investigating, it seems the array part in the first syntax is stripped away by the following code in DBSchemaManager.php
No idea what that
$arrayValue
is used for, but after removing theif
branchdev/build
succeeded.PRs
The text was updated successfully, but these errors were encountered: