User tests: Successful: Unsuccessful:
Prior to this pull request PlgFieldsRepeatable::onContentAfterSave
was responsible for converting the field values to JSON. However PlgSystemFields::onContentAfterSave
(see below) does the same task. This pull request removes the unnecessary processing.
joomla-cms/plugins/system/fields/fields.php
Lines 66 to 148 in 27371ee
Create a custom field of type repeatable and save data to it. After the saving process the entered data should still be there.
Same as before this commit
Status | New | ⇒ | Pending |
Category | ⇒ | Front End Plugins |
Title |
|
There is an issue concerning the plugin‘s name. It is true that the repeatable form field is deprecated but this is only the repeatable com_fields plugin, which internally uses the subform form field. I already considered renaming this plugin, however the only use case I could imagine is to have repeatable fields. Anyway, this plugin was first introduced in J4.0 and backported to J3.9 afterwards.
I have tested this item
After merging latest dev branch into this (to actually be able to add fields) data is stored in the repeatable field after the removal of the code.
I have tested this item
After merging latest dev branch into this (to actually be able to add fields) data is stored in the repeatable field after the removal of the code.
I have tested this item
Status | Pending | ⇒ | Ready to Commit |
RTC
Labels |
Added:
?
|
Labels |
Removed:
J4 Issue
|
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2019-05-18 01:58:08 |
Closed_By | ⇒ | wilsonge |
Thanks!
Isn't the repeatable field type deprecated? I thought everything deprecated was being removed in J4.
https://docs.joomla.org/Repeatable_form_field_type