User tests: Successful: Unsuccessful:
This decouples a part of #13182 since we don't seem to get an agreement there anytime soon
jform_params_alias
to jform_com_fields_alias
and the name from jform[params][alias]
to jform[com_fields][alias]
.None
Status | New | ⇒ | Pending |
Category | ⇒ | Administration com_fields Front End com_contact com_content Layout Plugins |
(Assuming you mean jform[com_fields][alias])
Of course! Adjusted the PR description now
I don't se the benefit for this change honestly? Params is made for custom fields, so why not reuse it?
Params is made for custom fields, so why not reuse it?
Because it's not made for custom fields. It's a groupd specified in many (if not most) extensions XML file to hold various item options.
That means in most cases there is already data in that group, and it's the reason you load the existing data, convert it, merge with com_fields data, process it, unset it and convert the original params data back. All while having the risk that we have conflicts with existing data.
Now if using our own group, we can eliminate the risk of having conflicts and don't need to convert and merge and convert back the existing data.
This PR is needed
Besides the obvious reason to avoid conflicts, there are more benefits
thus avoid the extra step to find the custom fields inside the 'params' and then clean-up the 'params' array before DB save
it makes easier to reference / handle them inside form via JS
easier to apply "different" validation of them ... in future if needed
also logically it makes sense since the 'params' are mostly non-content, and 'com_fields' are mostly 'content' ...
Labels |
Added:
?
|
We have conflicts here.
Rebased and conflict solved.
Rebased and fixed conflicts (again)
Rebased and fixed conflicts once more
Please tag me if ready to test :)
@coolcat-creations It is ready for quite some time already
I will test too during weekend
I have tested this item
@Bakual sorry i should have read my errormessage :-D Test successful!
I will also have a look over the weekend, somehow I have the feeling something is missing.
I have tested this item
RTC as there are 2 successfully Tests?
Status | Pending | ⇒ | Ready to Commit |
RTC
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2017-03-10 19:25:04 |
Closed_By | ⇒ | rdeutz | |
Labels |
Added:
?
|
I have tested this item✅ successfully on c8ff6d1
(Assuming you mean
jform[com_fields][alias]
)This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/13353.