You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Jacques Le Roux (JIRA)" <ji...@apache.org> on 2012/12/30 11:36:14 UTC

[jira] [Comment Edited] (OFBIZ-4937) In version 10.04 - After clicking on lookup, display login page again

    [ https://issues.apache.org/jira/browse/OFBIZ-4937?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13541057#comment-13541057 ] 

Jacques Le Roux edited comment on OFBIZ-4937 at 12/30/12 10:35 AM:
-------------------------------------------------------------------

== TYPO ==
After testing, I cleaned Raghavendra's contribution and created this patch. It's maybe not the best way, but it works. I will commit next week, reviews appreciated
                
      was (Author: jacques.le.roux):
    After testing, I cleaned Raghavendra's contribution and created this patch. It's maybe not the best way, but it work. I will commit next week, reviews appreciated
                  
> In version 10.04 - After clicking on lookup, display login page again
> ---------------------------------------------------------------------
>
>                 Key: OFBIZ-4937
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4937
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: Release 10.04
>         Environment: Windows 7 Enterprise, OFBiz 10.04 on tomcat 6.x
>            Reporter: Raghavendra Prakash
>            Assignee: Jacques Le Roux
>              Labels: file, java
>             Fix For: Release Branch 10.04
>
>         Attachments: LoginWorker.java, OFBIZ-4937 In version 10.04 - After clicking on lookup, display login page again.patch
>
>
> Flow:
> 1. Login to application product
> 2. Select product lookup
> 3. Select party application
> OFBiz displays login page again.
> Cause: externalKey becomes stale.
> I have fixed the issue with a small work around. Dont know how to update the code base for public use.
> externalLoginKeysWR - contains the userLogin for externalLoginKey from app-level tabs 
> Logic behind: The userlogin could not be found for the external key after the lookup request handled
> by OFBiz. The external key with app level tabs become stale once the lookup request is handled, and userlogin
> was removed for app level tabs' external keys. As a work around, this fastmap still maitains association with that
> external key. When the userlogin could not be found with external key, it would be searched in this fastmap.
> This is accomplished in checkExternalLoginKey and getExternalLoginKey methods

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira