[jira] [Commented] (OFBIZ-10506) Initial set of hasLoogedOut flag when logging in

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (OFBIZ-10506) Initial set of hasLoogedOut flag when logging in

Nicolas Malin (Jira)

    [ 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)