User tests: Successful: Unsuccessful:
I can't save an article on the front end on the current staging branch because of the error:
Call to undefined method Joomla\CMS\Editor\Editor::save()
Edit an article on the front end.
Article edit form opens and article can be edited.
Error is displayed and article can't be edited.
Category | ⇒ | Libraries |
Status | New | ⇒ | Pending |
@laoneo check Digital-Peak#5
Labels |
Added:
?
|
@dgt41 I think now we have a BC break here which we probably can avoid with my first suggestion. This code here https://github.com/joomla/joomla-cms/blob/4.0-dev/components/com_content/tmpl/form/edit.php#L35 breaks now in every extension.
I'v reverted the save function and marked it as deprecated, which I think is better than having a BC break here.
@laoneo the methods are deprecated since 3.7 and this is a needed B/C break.
The reason is that dropping the support for these old stuff we also enable multi-editors per page.
This is on purpose
EDIT: we can still provide empty function as we're doing in JHtml::behavior, so apps won't crash and burn (though I'm not in favour of doing that)
The function in the editors itself but not on the form field.
Let's deprecate it in 3.8/3.9 and remove it in j4. Let's drag less unneeded baggages...
If you want keep this can you always return null
?
Category | Libraries | ⇒ | Front End com_content Libraries |
Category | Libraries Front End com_content | ⇒ | Libraries |
Status | Pending | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2018-06-11 09:12:17 |
Closed_By | ⇒ | laoneo |
Ping @dgt41 as this involves code removed from the editor and plugins...