RTC Language Change bug PR-5.4-dev Pending

User tests: Successful: Unsuccessful:

avatar hiteshm0
hiteshm0
15 Aug 2026

Pull Request resolves #48207

  • I read the Generative AI policy and my contribution is either not created with the help of AI or is compatible with the policy and GNU/GPL 2 or later.

Summary of Changes

This PR refactors com_tags to use the same parent-scoped alias architecture as com_content and com_categories. The alias uniqueness check in TagTable::store() is now scoped to parent_id so that aliases are unique among siblings but can be reused under different parents. Additionally, TagModel::save() has been updated with the standard "empty alias handling" logic to auto generate aliases from the title and automatically increment them if a sibling duplicate exists, triggering the standard UI warning banner instead of a hard validation error.

Testing Instructions

  1. Create a new Tag titled "Parent 1".
  2. Create a new Tag titled "Parent 2".
  3. Create a new Tag titled "Child" with "Parent 1" as the parent. Leave the alias blank. Save & Close.
  4. Create a second new Tag titled "Child" with "Parent 1" as the parent. Leave the alias blank. Save & Close.
  5. Create a third new Tag titled "Child" with "Parent 2" as the parent. Leave the alias blank. Save & Close.

Actual result BEFORE applying this Pull Request

Step 3: Succeeds, alias is child.
Step 4: Fails with error: "Save failed with the following error: Another Tag has the same alias."
Step 5: Fails with error: "Save failed with the following error: Another Tag has the same alias." (Globally scoped error, despite different parent).

Expected result AFTER applying this Pull Request

Step 3: Succeeds, alias is child.
Step 4: Succeeds, but shows a warning: "Alias already existed so a number was added at the end. You can re-edit the tag to customise the alias." The saved alias is auto-incremented to child-2.
Step 5: Succeeds without warnings, alias is child. (Because it is under a different parent).

Link to documentations

Please select:

  • Documentation link for guide.joomla.org:

  • No documentation changes for guide.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • No documentation changes for manual.joomla.org needed

avatar hiteshm0 hiteshm0 - open - 15 Aug 2026
avatar hiteshm0 hiteshm0 - change - 15 Aug 2026
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 15 Aug 2026
Category com_tags Administration Language & Strings
avatar hiteshm0 hiteshm0 - change - 15 Aug 2026
The description was changed
avatar hiteshm0 hiteshm0 - edited - 15 Aug 2026
avatar hiteshm0 hiteshm0 - change - 15 Aug 2026
The description was changed
avatar hiteshm0 hiteshm0 - edited - 15 Aug 2026
avatar brianteeman
brianteeman - comment - 15 Aug 2026

This PR resolves #48207

avatar hiteshm0 hiteshm0 - change - 15 Aug 2026
The description was changed
avatar hiteshm0 hiteshm0 - edited - 15 Aug 2026
avatar brianteeman brianteeman - test_item - 15 Aug 2026 - Tested successfully
avatar brianteeman
brianteeman - comment - 15 Aug 2026

I have tested this item ✅ successfully on e1942cc


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

avatar brianteeman
brianteeman - comment - 15 Aug 2026

I have tested this item ✅ successfully on e1942cc


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

avatar krishnagandhicode krishnagandhicode - test_item - 21 Aug 2026 - Tested successfully
avatar krishnagandhicode
krishnagandhicode - comment - 21 Aug 2026

I have tested this item ✅ successfully on e1942cc


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

avatar krishnagandhicode
krishnagandhicode - comment - 21 Aug 2026

I have tested this item ✅ successfully on e1942cc


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

avatar krishnagandhicode
krishnagandhicode - comment - 21 Aug 2026

RTC


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

avatar krishnagandhicode
krishnagandhicode - comment - 21 Aug 2026

RTC


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

avatar krishnagandhicode
krishnagandhicode - comment - 21 Aug 2026

RTC


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

avatar alikon alikon - change - 21 Aug 2026
Status Pending Ready to Commit
avatar alikon
alikon - comment - 21 Aug 2026

RTC


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

avatar alikon
alikon - comment - 21 Aug 2026

RTC


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

avatar muhme muhme - change - 28 Aug 2026
Labels Added: RTC Language Change PR-5.4-dev
avatar muhme
muhme - comment - 28 Aug 2026

✅ Final test before merge with JBT

  • Seen errors with test cases 4. and 5. before PR
  • Applied PR with Patch Tester
    • Test cases 4. and 5 are working now
    • Try to create Title:Child and Alias:Child set and seen the new error message 'Another Tag with the same parent tag has the same alias.'
    • Tags can still be created, including parents and childs
    • The number appended at the end for an existing alias is incremented and is not added again
    • Tags with same alias (Parent 1/Child and Parent 2/Child) can be assigned to articles and can be selected different on site
    • No unusual Joomla or PHP log messages
avatar muhme muhme - change - 28 Aug 2026
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2026-08-28 12:28:18
Closed_By muhme
Labels Added: bug
avatar muhme muhme - close - 28 Aug 2026
avatar muhme muhme - merge - 28 Aug 2026
avatar muhme
muhme - comment - 28 Aug 2026

Thank you very much @hiteshm0 for your contribution. Thank you @richard67 for your support. Thanks to @krishnagandhicode and @brianteeman for testing.

Add a Comment

Login with GitHub to post a comment