Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0032869
TypeCategorySeverityReproducibilityDate SubmittedLast Update
design defect[Openbravo ERP] A. Platformminorhave not tried2016-05-05 10:472022-02-01 08:09
ReporteralostaleView Statuspublic 
Assigned ToTriage Platform Base 
PrioritynormalResolutionopenFixed in Version
StatusacknowledgedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0032869: cannot switch to a role that's being defined in current session

DescriptionWhen trying to switch to a role that is being defined in current session, it is possible to get an inconsistent state.

Note this situation is solved if after the role is completely defined, log out is done before using it.
Steps To Reproduce1) Create a new Role with Organization access level
2) Assign it to the Openbravo user
3) Log out and log in
4) In the Role window again, navigate to the newly created role
5) Give it access to the "F&B International Group" organization
6) Give it access to the "F&B EspaƱa, S.A" organization
7) Using the profile menu, try to switch to this new role.
  -> Check Organization is empty, because it has not been refreshed with recently granted ones
  -> When switching, the following error appears:

Error occured: org.openbravo.base.exception.OBException: java.lang.IllegalArgumentException: Error when saving default values

Stack Trace:

Caused by: java.lang.IllegalArgumentException: Error when saving default values
    at org.openbravo.client.application.navigationbarcomponents.UserInfoWidgetActionHandler$UserSessionSetter.resetSession(UserInfoWidgetActionHandler.java:477)
    at org.openbravo.client.application.navigationbarcomponents.UserInfoWidgetActionHandler$UserSessionSetter.access$1(UserInfoWidgetActionHandler.java:432)
    at org.openbravo.client.application.navigationbarcomponents.UserInfoWidgetActionHandler.executeSaveCommand(UserInfoWidgetActionHandler.java:393)
    at org.openbravo.client.application.navigationbarcomponents.UserInfoWidgetActionHandler.execute(UserInfoWidgetActionHandler.java:91)
    ... 48 more
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to feature request 0032398 closedalostale Role with Organization user level cannot see data in System/Client tables even if granted 
related to defect 0037289 closedinigosanchez It is not possible to do login using a role if the role has got a deactivated organization 

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2016-05-05 10:47 alostale New Issue
2016-05-05 10:47 alostale Assigned To => platform
2016-05-05 10:47 alostale Modules => Core
2016-05-05 10:47 alostale Triggers an Emergency Pack => No
2016-05-05 10:47 alostale Relationship added related to 0032398
2016-05-05 10:54 alostale Status new => acknowledged
2016-05-05 10:54 alostale Type defect => design defect
2016-05-05 10:56 alostale Description Updated View Revisions
2016-05-05 10:56 alostale Description Updated View Revisions
2017-11-14 13:59 caristu Relationship added has duplicate 0037289
2017-11-14 14:04 caristu Relationship deleted has duplicate 0037289
2017-11-14 14:04 caristu Relationship added related to 0037289
2022-02-01 08:09 alostale Assigned To platform => Triage Platform Base


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker