PBF bug PR-5.3-dev Pending

User tests: Successful: Unsuccessful:

avatar janschoenherr
janschoenherr
3 Dec 2024

Currently, when saving an article, the core_created_user_id and core_created_by_alias fields are not updated in the corresponding entry in the #__ucm_content table.

Summary of Changes

Add both fields to the fields_mapping column in the #__content_types table for articles.

Testing Instructions

A test should be to make a new installation with this PR to see if the changes in the base.sql are right, and another test should be made to update an existing 5.3.x to the patched package created by Drone for this PR to see if the update SQL script is run and has no errors.

After that (new installation or update), change the author (Created By) of an article. Take a look at the corresponding entry in the #__ucm_content table.

Actual result BEFORE applying this Pull Request

core_created_user_id and core_created_by_alias are not updated.

Expected result AFTER applying this Pull Request

core_created_user_id and core_created_by_alias are updated.

Link to documentations

Please select:

  • Documentation link for docs.joomla.org:

  • No documentation changes for docs.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • No documentation changes for manual.joomla.org needed

avatar janschoenherr janschoenherr - open - 3 Dec 2024
avatar janschoenherr janschoenherr - change - 3 Dec 2024
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 3 Dec 2024
Category SQL Installation Postgresql
avatar brianteeman
brianteeman - comment - 3 Dec 2024

Does this also need an update sql? Otherwise the changes will only be for new installs

avatar janschoenherr
janschoenherr - comment - 3 Dec 2024

You are probably right. I will check it out.

avatar janschoenherr janschoenherr - change - 3 Dec 2024
Labels Added: PR-5.3-dev
avatar joomla-cms-bot joomla-cms-bot - change - 3 Dec 2024
Category SQL Installation Postgresql SQL Administration com_admin Postgresql Installation
avatar janschoenherr
janschoenherr - comment - 3 Dec 2024

I added the update sql files. I am not sure about the postgresql syntax. Can someone confirm, that it works?

avatar fgsw fgsw - test_item - 4 Dec 2024 - Tested successfully
avatar richard67
richard67 - comment - 23 Jan 2025

@janschoenherr Could you rename your update SQL script? Currently they are named "5.3.0-2024-12-03.sql", but meanwhile we have something newer with "5.3.0-2024-12-19.sql" in the 5.3-dev branch, so your scripts should have a newer date than that, at least "5.3.0-2024-12-20.sql", but maybe better take the date of today and use "5.3.0-2025-01-23.sql".

Thanks in advance.

avatar janschoenherr
janschoenherr - comment - 23 Jan 2025

@janschoenherr Could you rename your update SQL script? Currently they are named "5.3.0-2024-12-03.sql", but meanwhile we have something newer with "5.3.0-2024-12-19.sql" in the 5.3-dev branch, so your scripts should have a newer date than that, at least "5.3.0-2024-12-20.sql", but maybe better take the date of today and use "5.3.0-2025-01-23.sql".

Thanks in advance.

avatar janschoenherr janschoenherr - change - 27 Jan 2025
Labels Added: Updates Requested
avatar fgsw
fgsw - comment - 4 May 2025

Prebuilt packages are not available for download.

avatar QuyTon QuyTon - change - 4 May 2025
Labels Removed: Updates Requested
avatar fgsw
fgsw - comment - 4 May 2025

Something wrong in prebuilt packages:

Untitled

avatar Sulpher
Sulpher - comment - 12 Aug 2025

As a user I'd like to leave a small comment: this feature is needed for correct using Tags layout in Yootheme Pro page builder. E.g. there is a menu item 'Compact list of tagged items' and it would be very useful to display a name of a user assigned to the article as the author despite the fact the original content was created by admin.

Here is what we can get on blog category page using user fields (avatar):
2025-08-10-09-59-26
There are different authors assigned to the articles and their avatars.

And here is what we get on tagged items page:
2025-08-10-09-59-33
There is the only original author who created the articles.

This PR could help in such situation for many users and I hope this PR will be noticed someday and accepted.
Thanks for attention.

avatar richard67
richard67 - comment - 12 Aug 2025

@Sulpher I've updated this PR so it is ready for testing again. If you want to bring it forward, please test it and submit the test result in the issue tracker here by using the blue "Text this" button at the top-left corner.

A test should be to make a new installation with this PR to see if the changes in the base.sql are right, and another test should be made to update an existing 5.3.x to the patched package created by Drone for this PR to see if the update SQL script is run and has no errors.

Thanks in advance.

avatar richard67
richard67 - comment - 12 Aug 2025

P.S. It might come too late for the upcoming 5.3.3 as this is already in preparation, but it still makes sense to bring it forward so it can go into 5.3.4.

avatar richard67 richard67 - change - 12 Aug 2025
The description was changed
avatar richard67 richard67 - edited - 12 Aug 2025
avatar richard67
richard67 - comment - 12 Aug 2025

@janschoenherr I've allowed myself to update the branch of this PR so new packages are created by Drone for testers, rename the update SQL scripts so that they run when updating from a current 5.3.x, and add instructions for new installation and update to the testing instructions. So the PR is ready for testing. Let's hope we find testers. Thanks a lot for your patience.

avatar obuisard obuisard - change - 23 Aug 2025
Labels Added: PBF bug
avatar SumCompanyInc SumCompanyInc - test_item - 23 Aug 2025 - Tested successfully
avatar SumCompanyInc
SumCompanyInc - comment - 23 Aug 2025

I have tested this item ✅ successfully on 83b58e4

i've got this working!

thank you @janschoenherr and everyone progressing the advancement of this!


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

Add a Comment

Login with GitHub to post a comment