[5.4] Fix storing data in #__ucm_base#47664
Conversation
|
I have tested this item ✅ successfully on 8c07a71 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/47664. |
|
I have tested this item ✅ successfully on 8c07a71. 1- the opacity is set to 0, I could solve that. This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/47664. |
|
I have tested this item ✅ successfully on 8c07a71 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/47664. |
|
Tested it successfully: no duplicates are created in |
|
@sertlan Please mark your test as successfully at https://issues.joomla.org/tracker/joomla-cms/47664 |
Well this PR already has 2 Successful human Tests using issue tracker which is enough to get it RTCed (some maintainer will add the RTC tag as soon as they look into this PR) Well more testing is always good - but as @sertlan already reported it here about their Successful test - after 2 human Successful test via joomla issue tracker It's not really needed for them to mark it using Issue tracker. Thanks. |
|
I have tested this item ✅ successfully on 8c07a71 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/47664. |
@krishnagandhicode please think also about less experienced users. |
|
RTC This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/47664. |
|
Is it safe to delete duplicates in |
No. The query is wrong. On MySQL 8 in strict mode you will get an SQL error because you are using a group by but the column by which you are grouping is not part of the select statement. |
For me (MariaDB 10.6.17) this SQL query works. But is it safe to delete duplicates in |
As said, try it on MySQL 8 or PostgreSQL and you will get an SQL error. |
|
I have tested this item 🔴 unsuccessfully on 779a9ca
|
|
back to pending This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/47664. |
Tested it. Unfortunately, it is. |






Pull Request resolves #47609.
Summary of Changes
The PR #44910 deprecated the UCM code, but broke storing the data in the
#__ucm_basetable. This PR reverts this change and fixes the problem.Testing Instructions
Create an article and assign a tag to it. Click on save, wait for the page to reload and click on save again.
Actual result BEFORE applying this Pull Request
In the
#__ucm_contenttable, for each click on save, a new entry is created in the table. No entry for the item is generated in#__ucm_base.Expected result AFTER applying this Pull Request
An entry is created in
#__ucm_basefor the item and the corresponding entry in#__ucm_contentis only updated, no duplicates are created.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