ezpublish-legacy
ezpublish-legacy copied to clipboard
fixed fatal error in eZUserType::objectAttributeContent
Fixed a fatal error in eZUserType::objectAttributeContent because user object could not be loaded
Opening curly brace needs to go on own line
done
Unrelated to the fix, but isn't it odd that hasObjectAttributeContent()
will return false if the user exists but is disabled?
https://github.com/ezsystems/ezpublish-legacy/blob/c306576fbc39644bbda26d9fd0f29eba82fc5e77/kernel/classes/datatypes/ezuser/ezusertype.php#L347
@pbek Seems there is a conflict here now after https://github.com/ezsystems/ezpublish-legacy/pull/1417, is this still needed?
I can't see this anywhere fixed in #1417, so I guess this is still needed.
ok, would you be able to rebase @pbek ?
@pbek Is the update her ok with you? And is there a JIRA issue for this?
Looks ok to me.
And is there a JIRA issue for this?
Not that I know of.
@pbek ok, can you add one with info on when you encountered this so we have it for anyone looking up similar case?
Dropping from 2019.03 milstone until it is clear what this actually fixes.