RTC Language Change Documentation Required bug PR-5.3-dev Pending

User tests: Successful: Unsuccessful:

avatar Hackwar
Hackwar
29 Sep 2024

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 test in 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 test in 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

avatar Hackwar Hackwar - open - 29 Sep 2024
avatar Hackwar Hackwar - change - 29 Sep 2024
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 29 Sep 2024
Category Administration com_fields
avatar brianteeman
brianteeman - comment - 30 Sep 2024

The error message needs to be updated as currently it says
COM_FIELDS_ERROR_UNIQUE_NAME="Another Field has the same name (remember it may be a trashed item or it may be already present as a custom field in another extension)."

It can now be simplified and made more consistent with other strings eg
COM_FIELDS_ERROR_UNIQUE_NAME="Another Field has the same name (remember it may be a trashed item)."

avatar fgsw fgsw - test_item - 2 Oct 2024 - Tested successfully
avatar fgsw
fgsw - comment - 2 Oct 2024

I have tested this item ✅ successfully on 58ccfe1

Test same Field name on

  • Content
    • Articles
    • Category
  • Contact
    • Contact
    • Mail
    • Category
  • Users

This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/44161.
avatar BertaOctech BertaOctech - test_item - 4 Oct 2024 - Tested successfully
avatar BertaOctech
BertaOctech - comment - 4 Oct 2024

I have tested this item ✅ successfully on 58ccfe1

I tried to create a custom field in Content and Users with the same name.
It was not possible until I applied the patch.
Later on I used both the user field and the content field and each one kept its value and appeared in the correct place.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/44161.

avatar laoneo
laoneo - comment - 5 Oct 2024

@Hackwar can you also change the text in the mentioned string from @brianteeman?

avatar Hackwar Hackwar - change - 10 Oct 2024
Labels Added: Updates Requested bug PR-5.3-dev
avatar joomla-cms-bot joomla-cms-bot - change - 10 Oct 2024
Category Administration com_fields Administration com_fields Language & Strings
avatar Hackwar
Hackwar - comment - 10 Oct 2024

Done

avatar Quy Quy - alter_testresult - 10 Oct 2024 - fgsw: Tested successfully
avatar Quy Quy - alter_testresult - 10 Oct 2024 - BertaOctech: Tested successfully
avatar Quy Quy - change - 10 Oct 2024
Status Pending Ready to Commit
avatar Quy
Quy - comment - 10 Oct 2024

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/44161.

avatar Quy Quy - change - 10 Oct 2024
Labels Added: RTC Language Change
Removed: Updates Requested
avatar laoneo laoneo - change - 10 Oct 2024
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2024-10-10 12:42:44
Closed_By laoneo
Labels Added: Documentation Required
avatar laoneo laoneo - close - 10 Oct 2024
avatar laoneo laoneo - merge - 10 Oct 2024
avatar laoneo
laoneo - comment - 10 Oct 2024

Thanks!

avatar laoneo
laoneo - comment - 21 Nov 2024

Just for reference, this one has been reverted with #44462. Should probably be implemented in 6.0.

Add a Comment

Login with GitHub to post a comment