No Code Attached Yet
avatar Crocodile442
Crocodile442
21 Jan 2026

Description

When adding tags to an article and saving, the tags do not persist. After reopening the article, the tags field is empty. This occurs consistently and without any error messages.

The issue is reproducible on both a production site and a fresh Joomla installation on the same server.

Environment

Joomla version: 6.0.2

PHP version: 8.3.x

Database: MySQL / MariaDB (standard hosting environment)

Web server: Apache

Browser tested: Firefox (latest), Chrome (latest)

Hosting: Shared hosting (same behavior across multiple installs)

Steps to Reproduce

Install Joomla 6.0.2 using default options.

Log in to the administrator.

Create a new article or edit an existing one.

Add a tag (existing tag or create a new tag via the article form).

Save & Close the article.

Reopen the article.

Expected Result

The tag remains assigned to the article.

Actual Result

The tag is missing when the article is reopened. No error or warning is shown.

Additional Information

Issue occurs on:

Production site

Fresh Joomla install in a separate subdirectory on the same server

All permissions for Content and Tags are correctly set.

Tags component (com_tags) and relevant plugins are enabled.

Cache cleared (Joomla cache and browser cache).

Tag Entry Mode tested (AJAX and Nested) — no change in behavior.

No visible JavaScript errors or warnings presented to the user during save.

This appears to be a silent failure to persist tag mappings.

Notes

This behavior suggests that tag-to-content mappings may not be written or retained in #__contentitem_tag_map, or that validation fails silently during save. Because the issue occurs on a clean install, it does not appear to be caused by custom extensions or site-specific configuration.

Votes

# of Users Experiencing Issue
1/2
Average Importance Score
2.50

avatar Crocodile442 Crocodile442 - open - 21 Jan 2026
avatar joomla-cms-bot joomla-cms-bot - change - 21 Jan 2026
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 21 Jan 2026
avatar brianteeman
brianteeman - comment - 21 Jan 2026

I am unable to replicate this on multiple sites and servers

avatar chmst
chmst - comment - 21 Jan 2026

I cannot reproduce the problem, same environment (thanks for detailed information) and different sites work in backend and frontend.

avatar ahotzler
ahotzler - comment - 21 Jan 2026

I am also unable to replicate this

avatar brianteeman
brianteeman - comment - 23 Jan 2026

This could be a server configuration issue as I assume your test clean install is on the same web server - perhaps related to mod_security. You should check your server error logs (or ask your web host if you dont have access).

avatar komalm
komalm - comment - 31 Jan 2026

I tested this issue on Joomla 6.0.2, and I am facing the same problem. Tags are not being saved in the database.


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

avatar tekvishal
tekvishal - comment - 31 Jan 2026

Unable to reproduce this issue in 5.4 and 6.1


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

avatar alikon
alikon - comment - 31 Jan 2026

@komalm can you describe your stack in details please

avatar komalm
komalm - comment - 31 Jan 2026

@alikon

Stack/Environment
Joomla version: 6.0.2
PHP version: 8.3.21
Database: MySQL
Web server: Apache
Browser tested: Chrome (latest)

I followed all the steps mentioned above to reproduce the issue.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/46734.
avatar kkbiswal
kkbiswal - comment - 31 Jan 2026

Investigation: Joomla Issue #46734 - Tag Persistence
Issue Summary
Issue: #46734 - Tags added to articles are not persisted after save (Joomla 6.0.2)

Reported By: Crocodile442 on Jan 21, 2026

Description: When adding tags to an article and saving, the tags do not persist. After reopening the article, the tags field is empty. This occurs consistently and without any error messages.

Reported Environment
Joomla version: 6.0.2
PHP version: 8.3.x
Database: MySQL / MariaDB
Web server: Apache
Browser tested: Firefox (latest), Chrome (latest)
Expected vs Actual Result
Expected: The tag remains assigned to the article after saving
Actual (Reported): The tag is missing when the article is reopened, with no error or warning shown
Investigation Results
Test Environment
Joomla Version: 6.0.2
PHP Version: 8.3
Database: MySQL (joomla_db)
Database Prefix: qu11k_
Test Date: January 31, 2026
Testing Methodology

  1. Browser Testing (AJAX Tag Entry Mode)
    I performed comprehensive browser testing to verify tag persistence:

Test 1: Create New Article with Single Tag
Adding tag to new article
Review
Adding tag to new article

Steps:

Created new article "Tag Test Article"
Added tag "testtag" using AJAX mode
Saved & Closed the article
Article saved in list
Review
Article saved in list

Reopened the article to verify tag persistence
Reopened article showing tag persisted
Review
Reopened article showing tag persisted

Result: ✅ Tag "testtag" persisted successfully

Test 2: Add Multiple Tags to Existing Article
Adding second tag to article
Review
Adding second tag to article

Steps:

Reopened "Tag Test Article"
Added second tag "asdfsadf"
Saved & Closed
Reopened to verify both tags persist
Result: ✅ Both tags "testtag" and "asdfsadf" persisted successfully

Test 3: Tag Entry Mode Configuration
Tags Data Entry Configuration
Review
Tags Data Entry Configuration

Configuration Checked:

Tag Entry Mode: AJAX (default)
Also tested switching to "Nested" mode
Result: ✅ Tags persist in both AJAX and Nested modes

  1. Database Verification
    To confirm tags are actually being saved at the database level, I queried the tag mapping table:

Tag Mappings in Database
SELECT * FROM qu11k_contentitem_tag_map ORDER BY tag_date DESC LIMIT 10;
Results:

+---------------------+-----------------+-----------------+--------+---------------------+---------+
| type_alias | core_content_id | content_item_id | tag_id | tag_date | type_id |
+---------------------+-----------------+-----------------+--------+---------------------+---------+
| com_content.article | 4 | 22 | 2 | 2026-01-31 17:11:51 | 1 |
| com_content.article | 4 | 22 | 3 | 2026-01-31 17:11:51 | 1 |
| com_content.article | 2 | 21 | 2 | 2026-01-31 17:07:05 | 1 |
+---------------------+-----------------+-----------------+--------+---------------------+---------+
Tag Details
SELECT id, title, alias FROM qu11k_tags WHERE id IN (2, 3);
Results:

+----+----------+----------+
| id | title | alias |
+----+----------+----------+
| 2 | asdfsadf | asdfsadf |
| 3 | testtag | testtag |
+----+----------+----------+
Article Details
SELECT id, title FROM qu11k_content WHERE id IN (21, 22);
Results:

+----+------------------+
| id | title |
+----+------------------+
| 21 | asfadsf |
| 22 | Tag Test Article |
+----+------------------+
Database Verification: ✅ All tag mappings are correctly stored in qu11k_contentitem_tag_map table

Complete Testing Recording
The entire testing process was recorded and is available here:

Complete browser testing session
Review
Complete browser testing session

This recording shows:

Creating new article with tags
Saving and reopening to verify persistence
Adding multiple tags
Checking tag configuration
All verification steps
Conclusion
IMPORTANT

Issue Status: NOT REPRODUCIBLE

After comprehensive testing on the current Joomla 6.0.2 installation, the reported issue does NOT persist.

Evidence Summary
✅ Browser Testing: Tags persist correctly when:

Creating new articles with tags
Adding tags to existing articles
Using both AJAX and Nested tag entry modes
Saving and reopening articles multiple times
✅ Database Verification: Tag mappings are correctly stored in qu11k_contentitem_tag_map table with proper relationships

✅ No Errors: No JavaScript console errors or PHP errors during tag operations

Add a Comment

Login with GitHub to post a comment