J3 Issue ?
avatar PhilETaylor
PhilETaylor
2 Feb 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

avatar PhilETaylor PhilETaylor - open - 2 Feb 2017
avatar joomla-cms-bot joomla-cms-bot - change - 2 Feb 2017
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 2 Feb 2017
avatar Bakual
Bakual - comment - 2 Feb 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.

avatar PhilETaylor
PhilETaylor - comment - 2 Feb 2017

No - this is because the restored version has a hard coded non existent user id!

Sent from my iPhone

On 2 Feb 2017, at 22:53, Thomas Hunziker notifications@github.com wrote:

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.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

avatar Bakual
Bakual - comment - 2 Feb 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?

avatar AlexRed
AlexRed - comment - 3 Feb 2017

I can confirm.


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

avatar shur
shur - comment - 3 Feb 2017

Looks similar #13361

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 3 Feb 2017

Depends on

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

(Release-Notes)?

avatar PhilETaylor
PhilETaylor - comment - 3 Feb 2017

please test only the default installation

@franz-wohlkoenig This is exactly what I did!

avatar infograf768
infograf768 - comment - 3 Feb 2017

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

avatar PhilETaylor
PhilETaylor - comment - 27 Mar 2017

So this is left over from #12947 .... @andrepereiradasilva

avatar franz-wohlkoenig franz-wohlkoenig - change - 30 Mar 2017
Category com_users
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 5 Apr 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.

avatar franz-wohlkoenig franz-wohlkoenig - change - 5 Apr 2017
Status New Needs Review
avatar PhilETaylor
PhilETaylor - comment - 18 Nov 2017

Still issues in Joomla 4 alpha1

avatar brianteeman brianteeman - change - 25 Mar 2018
Labels Added: J3 Issue
avatar brianteeman brianteeman - labeled - 25 Mar 2018
avatar PhilETaylor PhilETaylor - change - 10 Feb 2019
Status Needs Review Closed
Closed_Date 0000-00-00 00:00:00 2019-02-10 21:35:04
Closed_By PhilETaylor
avatar PhilETaylor PhilETaylor - close - 10 Feb 2019

Add a Comment

Login with GitHub to post a comment