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
When a set of existing EditableFormFields are related to an ElementForm, running dev/build will "correct" the polymorphic relation to SilverStripe\UserForms\Model\UserDefinedForm and break the relationship.
Relationship between fields and ElementForm is preserved
Actual result
Relationship between fields and ElementForm is decoupled - fields are no longer visible in the CMS under the corresponding ElementForm.
dev/build's records output says:
Corrected {x} default polymorphic class names to SilverStripe\UserForms\Model\UserDefinedForm
EditableFormField polymorphic relation class (field ParentClass) value is switched from DNADesign\ElementalUserForms\Model\ElementForm to SilverStripe\UserForms\Model\UserDefinedForm
The text was updated successfully, but these errors were encountered:
Yep, that task was designed specifically for userforms when used with pages, during a SS3->SS4 upgrade. Disabling here is the right approach. Would you like to make a PR to the readme or documentation for this module to mention that?
When a set of existing
EditableFormField
s are related to anElementForm
, runningdev/build
will "correct" the polymorphic relation toSilverStripe\UserForms\Model\UserDefinedForm
and break the relationship.Versions
Steps to recreate
ElementForm
via the CMSdev/build
Expected result
Relationship between fields and
ElementForm
is preservedActual result
Relationship between fields and
ElementForm
is decoupled - fields are no longer visible in the CMS under the correspondingElementForm
.dev/build
's records output says:EditableFormField
polymorphic relation class (fieldParentClass
) value is switched fromDNADesign\ElementalUserForms\Model\ElementForm
toSilverStripe\UserForms\Model\UserDefinedForm
The text was updated successfully, but these errors were encountered: