User tests: Successful: Unsuccessful:
Pull Request for Issue #11228.
When you make a new install of Joomla without sample data, i.e., selecting None (Required for basic native multilingual site creation)
in the sample data install step, joomla will install the joomla.sql without changing the ids of the created_user_id in the table records.
One example is the #__categories
table "Uncategorised" categories. The user id 42 ( https://github.com/joomla/joomla-cms/blob/staging/installation/sql/mysql/joomla.sql#L241-L247 ) is hardcoded as you can see from next picture.
This is a bug by itself (exists on 3.5.1 too), but in latest staging this leads to a warning when trying to edit those categories because the user id doesn't exist.
This user_id needs to be updated to the random generated super user id.
This PR solves this issue.
None (Required for basic native multilingual site creation)
in the sample data install stepStatus | New | ⇒ | Pending |
Category | ⇒ | Installation |
Labels |
Added:
?
|
I have tested this item
Confirmed issue with userid42 and tested an install with this patch and its all good
Rel_Number | 0 | ⇒ | 112288 |
Relation Type | ⇒ | Pull Request for |
Rel_Number | 112288 | ⇒ | 11228 |
Status | Pending | ⇒ | Ready to Commit |
Labels |
Added:
?
|
Milestone |
Added: |
I have tested this item
Able to reproduce then patch works as expected
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2016-07-22 20:39:51 |
Closed_By | ⇒ | wilsonge |
Labels |
Removed:
?
|
@andrepereiradasilva
When installing Sample blog, I still have the issue.
JUser: :_load: Unable to load user with ID: 713
i think you have that because of the modified_by
, IIRC this PR only corrects the created_by
.
we can make a PR to update those too.
That would make sense. If thats the case then the PR doesnt need updating
as we have at least one other PR to address the situation of a deleted user
in the modified field
On 20 November 2016 at 11:14, andrepereiradasilva notifications@github.com
wrote:
i think you have that because of the modified_by, IIRC this PR only
corrects the created_by.
we can make a PR to update those too.—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#11245 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABPH8Xt81ZrnNoiBv7LwcA-i_LQIONWBks5rACuBgaJpZM4JSwbS
.
Brian Teeman
Co-founder Joomla! and OpenSourceMatters Inc.
https://brian.teeman.net/ http://brian.teeman.net/
working on it
I have tested this item✅ successfully on 9c55adc
no more warning, created_user_id now respect the superadmin user id
This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/11245.