You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Dennis Balkir (JIRA)" <ji...@apache.org> on 2018/08/07 08:31:00 UTC
[jira] [Commented] (OFBIZ-10506) Initial set of hasLoogedOut flag
when logging in
[ https://issues.apache.org/jira/browse/OFBIZ-10506?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16571259#comment-16571259 ]
Dennis Balkir commented on OFBIZ-10506:
---------------------------------------
Since every users flag is initially null, this login check never works.
With the patch provided, when the user logs in, the flag is set to N if it is null and this fixes the bug
> Initial set of hasLoogedOut flag when logging in
> ------------------------------------------------
>
> Key: OFBIZ-10506
> URL: https://issues.apache.org/jira/browse/OFBIZ-10506
> Project: OFBiz
> Issue Type: Bug
> Components: framework
> Reporter: Dennis Balkir
> Priority: Minor
> Attachments: OFBIZ-10506.patch
>
>
> When setting up a new OFBiz with loadAll all the user logins are initially created with the flag {{hasLoggedOut}} set to null.
> This causes problems, when the method {{isUserLoggedIn}} from {{LoginWorker}} is used, since this checks if the flag is not null or N, and if it is null or not N it will remove the user from the session.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)