Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Release 10.04
-
Windows 7 Enterprise, OFBiz 10.04 on tomcat 6.x
Description
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