Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[3.7.0b1] JUser: :_load: Unable to load user with ID: 849 #13864

Closed
PhilETaylor opened this issue Feb 2, 2017 · 11 comments
Closed

[3.7.0b1] JUser: :_load: Unable to load user with ID: 849 #13864

PhilETaylor opened this issue Feb 2, 2017 · 11 comments

Comments

@PhilETaylor
Copy link
Contributor

PhilETaylor commented Feb 2, 2017

Steps to reproduce the issue

Install 3.7.0.b1 with default content (which is one article)

Restore the "initial content" of that article using the versions button

Expected result

No error

Actual result

JUser: :_load: Unable to load user with ID: 849
screen shot 2017-02-02 at 21 36 03

@Bakual
Copy link
Contributor

Bakual commented Feb 2, 2017

The warning is because you have set a non-existant user in the form. So the warning makes sense, but may of course be more helpful if it would say which field it was.

@PhilETaylor

This comment was marked as abuse.

@Bakual
Copy link
Contributor

Bakual commented Feb 2, 2017

Ah, I think Joomla now resets the user ID during the installation to a valid user to avoid this warning. I'm not sure how it's done excatly, I just remember reading something like this. Maybe that triggers a new versioning entry then?

@AlexRed
Copy link
Contributor

AlexRed commented Feb 3, 2017

I can confirm.


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

@shur
Copy link
Contributor

shur commented Feb 3, 2017

Looks similar #13361

@ghost
Copy link

ghost commented Feb 3, 2017

Depends on

The example date sets are not updated, please test only the default installation or updates

(Release-Notes)?

@PhilETaylor

This comment was marked as abuse.

@infograf768
Copy link
Member

indeed user # 849 is harcoded in sample data
The patch for it
https://patch-diff.githubusercontent.com/raw/joomla/joomla-cms/pull/12947.diff

does not take versioning into account. Therefore I guess that when updating the table it also creates a version, thus the error encountered

@PhilETaylor

This comment was marked as abuse.

@ghost
Copy link

ghost commented Apr 5, 2017

set Status "Needs Review" on Issue Tracker.


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

@PhilETaylor

This comment was marked as abuse.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants