[5.3] Customfields: Also look at context when checking uniqueness#44161
[5.3] Customfields: Also look at context when checking uniqueness#44161laoneo merged 3 commits intojoomla:5.3-devfrom
Conversation
|
The error message needs to be updated as currently it says It can now be simplified and made more consistent with other strings eg |
|
I have tested this item ✅ successfully on 58ccfe1 Test same Field name on
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/44161. |
|
I have tested this item ✅ successfully on 58ccfe1 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/44161. |
|
@Hackwar can you also change the text in the mentioned string from @brianteeman? |
|
Done |
|
RTC This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/44161. |
|
Thanks! |
|
Just for reference, this one has been reverted with #44462. Should probably be implemented in 6.0. |
joomla/joomla-cms#41496 - (upmerge с 5.2х) joomla/joomla-cms#42530 + joomla/joomla-cms#43994 - (upmerge с 5.2х) joomla/joomla-cms#44009 - (upmerge с 5.2х) joomla/joomla-cms#44010 - (upmerge с 5.2х) joomla/joomla-cms#44161 + joomla/joomla-cms#44187 - (upmerge с 5.2х) joomla/joomla-cms#44207 - (upmerge с 5.2х) joomla/joomla-cms#44271 + joomla/joomla-cms#44273 + joomla/joomla-cms#44288 - (только для en-GB) joomla/joomla-cms#44348 - (upmerge с 5.2х) joomla/joomla-cms#44366 + joomla/joomla-cms#44367 - (upmerge с 5.2х) joomla/joomla-cms#44434 - (upmerge с 5.2х) joomla/joomla-cms#44448 - (upmerge с 5.2х) joomla/joomla-cms#44462 + joomla/joomla-cms#44487 - (upmerge с 5.2х) joomla/joomla-cms#44587 + joomla/joomla-cms#44600 + joomla/joomla-cms#44604 + joomla/joomla-cms#44621 - (upmerge с 5.2х) joomla/joomla-cms#44623 + joomla/joomla-cms#44632 + joomla/joomla-cms#44640 - (позже был REVERT joomla/joomla-cms#44845) joomla/joomla-cms#44714 - (upmerge с 5.2х) joomla/joomla-cms#44756 + joomla/joomla-cms#44768 - (upmerge с 5.2х) joomla/joomla-cms#44792 - (только для en-GB) joomla/joomla-cms#44813 + joomla/joomla-cms#44822 - (upmerge с 5.2х) joomla/joomla-cms#44839 + joomla/joomla-cms#44871 + joomla/joomla-cms#44954 + joomla/joomla-cms#45034 - (upmerge с 5.2х) joomla/joomla-cms#45058 - (только для en-GB) joomla/joomla-cms#45064 + joomla/joomla-cms#45078 - (только для en-GB) joomla/joomla-cms#45130 - (upmerge с 5.2х) joomla/joomla-cms#45240 - (upmerge с 5.2х) joomla/joomla-cms#45246 - (только для др. пакетов)
Pull Request for Issue #44154 .
Summary of Changes
Customfields should only be uniquely named per context, so you should be able to have a field
testin both articles and users. So far this is prohibited and you can only name a field uniquely system wide. This PR should fix that.Testing Instructions
Create a customfield with name
testin articles and in users.Actual result BEFORE applying this Pull Request
Creating the second field is denied.
Expected result AFTER applying this Pull Request
Both fields can be saved.
Link to documentations
Please select:
Documentation link for docs.joomla.org:
No documentation changes for docs.joomla.org needed
Pull Request link for manual.joomla.org:
No documentation changes for manual.joomla.org needed