User tests: Successful: Unsuccessful:
Pull Request for Issue # .
Currently new guided tours and guided tour steps are inserted on new installations with created_by and modified_by user IDs = zero in files "installation/sql/<dbtype>
/extensions.sql".
This results in these user IDs being zero until the tours or steps are edited for the first time because the conversion to the real user ID happens only when that ID is greater than zero and when the database tables and columns are in the list to be updated here: https://github.com/joomla/joomla-cms/blob/5.0-dev/installation/src/Model/ConfigurationModel.php#L273-L303
This PR here fixes that.
Make a new installation and then check the created_by
and modified_by
columns in the #__guidedtours
and #__guidedtour_steps
tables in database e.g. with phpMyAdmin.
The created_by
and modified_by
columns in the #__guidedtours
and #__guidedtour_steps
tables have value zero after a new installation.
The created_by
and modified_by
columns in the #__guidedtours
and #__guidedtour_steps
tables are equal to the super user's user ID after a new installation.
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
Category | ⇒ | SQL Installation Postgresql |
Status | New | ⇒ | Pending |
Status | Pending | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2023-09-04 12:00:30 |
Closed_By | ⇒ | HLeithner | |
Labels |
Added:
PR-5.0-dev
|
thanks