Obsolete class names cause UDF pages to fail to publish with error Please implement a getFormField() on your EditableFormClass
#1086
Labels
Please implement a getFormField() on your EditableFormClass
#1086
Using 5.8.3.
Replication steps:
CheckboxField
(I assume this is just the first one in the list?)This seems to have been introduced with this commit:
c0a30f1
As now we are calling
getFormField()
in theonBeforeWrite()
method - which, if theClassName
value of a field is now invalid, falls back to the Parent class, which throws theuser_error
. Tested with a previous version (5.5.2) and the form successfully published and fixed theClassName
as expected.Proposed solutions:
null
and log an error instead of throwinguser_error
in the defaultgetFormField()
methodClassName
- I believeSiteTree
does this, warns you or something?The text was updated successfully, but these errors were encountered: