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

[4.0] Warning message : JUser: :_load: Unable to load user with ID #24166

Merged
merged 2 commits into from
Mar 14, 2019

Conversation

brianteeman
Copy link
Contributor

PR for #20689

The error message displayed when the user cannot be found (eg when opening a content item when the content creator has been deleted) is not meaningful.

Keeping it simple and in line with other error messages I propose changing it to

Unable to find a user with the ID: %s

PR for joomla#20689

The error message displayed when the user cannot be found (eg when opening a content item when the content creator has been deleted) is not meaningful.

Keeping it simple and in line with other error messages I propose changing it to

> Unable to find a user with the ID: %s
@wilsonge wilsonge merged commit 7836dcc into joomla:4.0-dev Mar 14, 2019
@wilsonge wilsonge added this to the Joomla 4.0 milestone Mar 14, 2019
@wilsonge
Copy link
Contributor

This makes a lot more sense. Thanks!

@brianteeman
Copy link
Contributor Author

Thanks

@parthlawate
Copy link
Contributor

The changed message is good.. However as suggested in this issue https://issues.joomla.org/tracker/joomla-cms/20689 we should only show this - say if Debug is on.. As while it could be useful to administrators showing this in the frontend might not be a good idea even if the message is changed. I think the use case here is that the JUser object is being used to load things like the Usernmame/Name instead of doing direct queries.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Language Change This is for Translators
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants