No Code Attached Yet
avatar DonPedro34
DonPedro34
22 Sep 2021

Steps to reproduce the issue

Enter the following a new tag.
Enter any Additional Tags after the new.

Use Tags from before Update to Joomla 4.

Press Save in the Editor. On reload the new Tags are gone.

Expected result

All the Tags are loaded.

Actual result

All Tags are actually stored and displayed on the Frontend. But at reload in Backend they new ones disappear.

System information (as much as possible)

Joomla 4.0.3.

Additional comments

This worked in version 3.10.

Votes

# of Users Experiencing Issue
2/2
Average Importance Score
4.50

avatar DonPedro34 DonPedro34 - open - 22 Sep 2021
avatar DonPedro34 DonPedro34 - change - 22 Sep 2021
Labels Removed: ?
avatar joomla-cms-bot joomla-cms-bot - change - 22 Sep 2021
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 22 Sep 2021
avatar DonPedro34 DonPedro34 - change - 22 Sep 2021
The description was changed
avatar DonPedro34 DonPedro34 - edited - 22 Sep 2021
avatar DonPedro34 DonPedro34 - change - 22 Sep 2021
Title
Entering Tags with Ampersand makes that Tag and after disappear on editor reload after save.
Entering Tags with Ampersand makes that Tag disappear on editor reload after save.
avatar DonPedro34 DonPedro34 - edited - 22 Sep 2021
avatar dgrammatiko
dgrammatiko - comment - 22 Sep 2021

Remove the parenthesis

avatar alikon
alikon - comment - 4 Oct 2021

unable to reproduce

avatar abs66on
abs66on - comment - 12 Oct 2021

Hello all, I have the same problem. My TAGs consist of several words. because of this, the alias have a hyphen. Also for me, when editing posts, some TAGs are no longer displayed. If I take the hyphens out of the alias everything works normally.

avatar DonPedro34 DonPedro34 - change - 5 Nov 2021
The description was changed
Title
Entering Tags with Ampersand makes that Tag disappear on editor reload after save.
News Tags added after Update to Joomla 4 disappear on editor reload after save.
avatar DonPedro34 DonPedro34 - edited - 5 Nov 2021
avatar DonPedro34 DonPedro34 - edited - 5 Nov 2021
avatar DonPedro34
DonPedro34 - comment - 5 Nov 2021

This is pretty annoying.

Old tags created before the Update to J4 can be used without Problem, new Tags disappear on reload.

Makes it rather unuseable!


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

avatar alexhokamp
alexhokamp - comment - 12 Nov 2021

I could replicate the Issue. Upgraded a Website to Joomla 4.0.3. Seems to be a problem with Ajax. When you go into the Tags: Options and change in Data Entry the Tag Entry Mode to Nested, it worked in my installation. This obviously does not correct the error in the Data Entry Mode when it is set to AJAX, but it solves the problem until the AJAX Data Entry Mode is checked. screen shot 2021-11-12 at 10 44 28


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

avatar unet2581
unet2581 - comment - 17 Feb 2022

Thank you alexhokamp

avatar jv5
jv5 - comment - 30 Mar 2022

I also have this issue. Migrated to J4 and lost ability to save tags to articles. Existing tags from articles migrated to J4 work as expected. Flipping the Tags Data Entry Option to "Nested" did not work for me.

FWIW, nothing gets written to the contentitem_tag_map table.

avatar morphinestyle
morphinestyle - comment - 13 Apr 2022

I also have this issue. Not working properly adding new tags from articles, saving, and when save again it disappears.
(website updated from 3.x to 4)

avatar joomdonation joomdonation - close - 19 Nov 2022
avatar joomdonation
joomdonation - comment - 19 Nov 2022

PR #39254 should address this issue. Please help testing. Thanks !

avatar joomdonation joomdonation - change - 19 Nov 2022
Status New Closed
Closed_Date 0000-00-00 00:00:00 2022-11-19 18:20:50
Closed_By joomdonation
avatar jv5
jv5 - comment - 21 Nov 2022

Did not work for me. Tags do not get saved to article. Also, nothing gets written to the contentitem_tag_map table.

avatar joomdonation
joomdonation - comment - 22 Nov 2022

@jv5 Could cause by something else. If you give me access to your site and tell me step by step what I need to do to see the issue, I will be happy to take a look at it and try to find a solution

avatar jv5
jv5 - comment - 22 Nov 2022

@joomdonation - Thank you! I would appreciate that. How do I send the access info to you?

avatar joomdonation
joomdonation - comment - 23 Nov 2022

@jv5 See #39254 (comment) for the requested information.

avatar jv5
jv5 - comment - 29 Nov 2022

@joomdonation Email with info sent on 11/27/22. Let me know if you did not receive.

avatar joomdonation
joomdonation - comment - 29 Nov 2022

@jv5 Sorry, missed the email. Just checked and saw your email. Replied your email because the user account you sent me is blocked, so I could not login to check

avatar jv5
jv5 - comment - 29 Nov 2022

@joomdonation Should be good now.

avatar joomdonation
joomdonation - comment - 30 Nov 2022

Just want to update that I checked the site sent by @jv5 and found that the issue somehow related to field core_xreference field in #__ucm_content table does not have default value. I don't see that field in the table from Joomla 4 installation, so guess it was used in Joomla 3. The solution could be :

  • Set default value for that field
  • Or maybe drop that field from the table

It is not related to the PR which I made, just post the reason and solution here in case someone has similar problem

avatar morphinestyle
morphinestyle - comment - 30 Nov 2022

Hello @joomdonation, i have same TAG issue: i try to find same field?

avatar joomdonation
joomdonation - comment - 30 Nov 2022

@morphinestyle You can try to apply the change from PR #39254 to see if it solves the issue first. You can apply that change by getting the attached file, unzip it, upload the received file to libraries/src/Form/Field folder on your site to see if it solves the issue.

TagField.zip

avatar joomdonation
joomdonation - comment - 30 Nov 2022

@morphinestyle Sorry, it is the TagField.zip in the message. See the attached screenshot
tagfield

avatar jv5
jv5 - comment - 30 Nov 2022

As suggested by @joomdonation, I edited the ucm_content table and dropped the core_xreference column. This appears to have resolved my particular issue.

When migrating my site from Joomla 3.x to 4.x, I used a migration plugin to transfer the ucm_content table (among others). During this transfer, the plugin did not remove the core_xreference column.

Thank you @joomdonation for your help!

avatar morphinestyle
morphinestyle - comment - 30 Nov 2022

Sorry, you're right, i was looking on PR 39254.
I will try and let you know as soon.

avatar brianteeman
brianteeman - comment - 30 Nov 2022

@jv5 what was this migration plugin so we can let them know it is broken

avatar jv5
jv5 - comment - 30 Nov 2022

@brianteeman SP Transfer

Not sure the app is "broken" - although I did have many issues using it - but regarding this particular issue, the transfer of the ucm_content table was not automated by the plugin. It was not part of the "Core Files" transfer that was somewhat automated. It was when I discovered issues with the Tags that I discovered I needed to also transfer the ucm_content table (and a few others that were part of the core database files that were not transferred). When I transferred the ucm_content table over, my old tags then appeared, but I was unable to add new tags, which was the issue that led me to this thread.

Here is a link to the SP Transfer instructions I used.

avatar morphinestyle
morphinestyle - comment - 5 Dec 2022

@joomdonation sorry for the late reply.
It Works! Issue solved, Thank you!

avatar joomdonation
joomdonation - comment - 5 Dec 2022

@morphinestyle Happy to hear that and thanks for confirming.

avatar getimo
getimo - comment - 17 May 2023

Hello, I just migrated from Joomla 3 to 4. I have the same issue but was not able to fix it with the file attched by @joomdonation Anybody an idea what I could do else?

avatar jv5
jv5 - comment - 18 May 2023

@getimo, did you check to see if the ucm_content table has a "core_xreference" column? Per my post above, I deleted this column and it fixed it for me.

avatar chris-m87
chris-m87 - comment - 20 May 2023

Hello, I have the same issue. I migrated from J3 to J4 and I am not able to save tags in articles. I have already applied the two changes by replacing the revised TagField.php and I have also deleted the core_xreference column. Unfortunately the issue remains the same and I still cannot save the tags. When I push the save button Joomla states in green color that I have saved, but the tags which I have selected out of the list are gone again. Is there further help?


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

avatar chris-m87
chris-m87 - comment - 20 May 2023

Hallo, I have already found an answer to this issue. In my case, I had to replace the table #_content_types in my DB with another table from a J4 version, where the saving of tags was working. After replacing it, I was able to save the tags in my articles.

avatar chmst
chmst - comment - 20 May 2023

@joomdonation should we re open this issue?

avatar getimo
getimo - comment - 23 May 2023

@getimo, did you check to see if the ucm_content table has a "core_xreference" column? Per my post above, I deleted this column and it fixed it for me.

Yes, I just deleted it but tags are still not being saved.

I imported the tabled from a fresh j4 installation like @chris-m87 too with no results. So, basically I did all the changed from this thread but none did help.

It seems that I'm not the only one if you search google for this kind of problem with Joomla. Is there any possibility to "upgrade" the database scheme manually?

avatar joomdonation
joomdonation - comment - 23 May 2023

@getimo Maybe you can try the solution which I posted on this post https://www.facebook.com/groups/joomlanospam/posts/10158751157500997/ on Joomla! User Group on Facebook (see my last comment on that post )

Check this link https://gist.github.com/joomdonation/ceac27f88445f9ff4d3d4505ee324ecb for the SQL commands need to be executed (replace jos_ with database table prefix uses for your site)

Hope that fix the issue for you. If not, I'm afraid of you will need to have a developer to check it directly on your site.

avatar getimo
getimo - comment - 23 May 2023

@joomdonation Thank you very much for not giving up helping me! I will try that fix too. In case it does not work: Are you available for custom jobs like this to fix that?

Add a Comment

Login with GitHub to post a comment