No Code Attached Yet J4 Issue
avatar brianteeman
brianteeman
26 Feb 2022

Create a clean install

Check the #__assets table and you see (apart from root.1) that all the names are in the form com_something

Create a new article and give it a tag

Check the #__ucm_content table and you will see a record has been created for the article you just created

For that record check the value of asset_id (it will be a number)

Now go to the #__assets table and you will see some new records. Find the record with the id matching the asset_id from above.

The name and title are both in the form #__ucm_content.xx

Fairly sure thats not intended and may have consequences

avatar brianteeman brianteeman - open - 26 Feb 2022
avatar joomla-cms-bot joomla-cms-bot - change - 26 Feb 2022
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 26 Feb 2022
avatar brianteeman brianteeman - change - 26 Feb 2022
The description was changed
avatar brianteeman brianteeman - edited - 26 Feb 2022
avatar chmst
chmst - comment - 28 Feb 2022

Confirmed. I assume that it has no consequences except flooding the assets table with useless data.
There is no reason for having an assetid field in com_ucm_content as much as I see.

avatar brianteeman
brianteeman - comment - 28 Feb 2022

I have no idea if there are consequences. I presumed there was a reason for the record to be created but it was created wrongly

avatar chmst chmst - change - 28 Feb 2022
Labels Added: J3 Issue
avatar chmst chmst - labeled - 28 Feb 2022
avatar brianteeman
brianteeman - comment - 28 Feb 2022

@chmst I assume that you added the wrong tag?

avatar chmst
chmst - comment - 28 Feb 2022

It was also in j3. Let's see if we resolve it in J3

avatar brianteeman
brianteeman - comment - 7 Mar 2022

There is no reason for having an assetid field in com_ucm_content as much as I see.

Is it perhaps needed for the version history which is available with tags?

avatar chmst
chmst - comment - 15 Mar 2022

If every version can have different permissions - maybe. I must build tests with many different roles / permissions for testing that.


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

avatar brianteeman
brianteeman - comment - 23 Aug 2022

Please correctly tag this issue as for J4

avatar zero-24 zero-24 - change - 23 Aug 2022
Labels Added: J4 Issue
Removed: J3 Issue
avatar zero-24 zero-24 - labeled - 23 Aug 2022
avatar zero-24 zero-24 - unlabeled - 23 Aug 2022
avatar Hackwar
Hackwar - comment - 6 Nov 2022

I can confirm this issue. These entries have no use and we should remove them. Especially since they are all empty, even when their original content item does have entries in there. This is just wasting lots of time and slowing down sites.

avatar brianteeman
brianteeman - comment - 6 Nov 2022

thanks for confirming. I can work on this tomorrow now.

avatar Hackwar
Hackwar - comment - 6 Nov 2022

I got it fixed. Writing a PR right now.

avatar brianteeman brianteeman - change - 6 Nov 2022
Status New Closed
Closed_Date 0000-00-00 00:00:00 2022-11-06 21:05:00
Closed_By brianteeman
avatar brianteeman brianteeman - close - 6 Nov 2022
avatar brianteeman
brianteeman - comment - 6 Nov 2022

great - one less thing for me to look at

avatar Hackwar
Hackwar - comment - 6 Nov 2022

PR #39165 is created, this issue is closed. Nothing to do here for me. :-)

avatar brianteeman
brianteeman - comment - 6 Nov 2022

Well I never would have found that solution. So thanks again

Add a Comment

Login with GitHub to post a comment