Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0037294 | Openbravo ERP | A. Platform | public | 2017-11-14 13:45 | 2017-11-17 15:34 | |||||||
Reporter | malsasua | |||||||||||
Assigned To | inigosanchez | |||||||||||
Priority | normal | Severity | minor | Reproducibility | always | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | ||||||||||||
Target Version | 3.0PR17Q3.2 | Fixed in Version | 3.0PR17Q3.2 | |||||||||
Merge Request Status | ||||||||||||
Review Assigned To | caristu | |||||||||||
OBNetwork customer | ||||||||||||
Web browser | ||||||||||||
Modules | Core | |||||||||||
Support ticket | ||||||||||||
Regression level | Production - QA Approved | |||||||||||
Regression date | 2017-04-06 | |||||||||||
Regression introduced in release | 3.0PR17Q3 | |||||||||||
Regression introduced by commit | https://code.openbravo.com/erp/devel/pi/rev/c4a5973bba10 [^] | |||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0037294: It is not possible to do login using a role if the role has got a deactivated organization | |||||||||||
Description | when a role has got one deactivate organization, in Role > Org Access, it is not possible to do login. Error is returned: Error occured: org.openbravo.base.exception.OBException: java.lang.IllegalArgumentException: Error when saving default values | |||||||||||
Steps To Reproduce | in F&B: . do login with user Openbravo . go to Role: . record: F&B España, S.A - Employee . go to org access tab: . record: F&B España - Región Norte active='N' . change the role to F&B España, S.A - Employee Error is returned | |||||||||||
Proposed Solution | Take into account the "is active" flag in the queries launched by RoleInfo class. Since the changeset[1] it is using a Query instead of an OBQuery to retrieve the role's organization and warehouses data. [1] https://code.openbravo.com/erp/devel/pi/rev/c4a5973bba10 [^] | |||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2017-11-14 18:22 | caristu | Type | defect => backport | |||||||||
2017-11-14 18:22 | caristu | Target Version | => 3.0PR17Q3.2 | |||||||||
2017-11-16 10:12 | inigosanchez | Assigned To | platform => inigosanchez | |||||||||
2017-11-16 12:36 | hgbot | Checkin | ||||||||||
2017-11-16 12:36 | hgbot | Note Added: 0100549 | ||||||||||
2017-11-16 12:36 | hgbot | Status | scheduled => resolved | |||||||||
2017-11-16 12:36 | hgbot | Resolution | open => fixed | |||||||||
2017-11-16 12:36 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/backports/3.0PR17Q3.2/rev/97ccc65883ae6d6fcf9c0f3fe01d14655ca71d3c [^] | |||||||||
2017-11-16 16:45 | caristu | Severity | major => minor | |||||||||
2017-11-17 15:34 | caristu | Note Added: 0100596 | ||||||||||
2017-11-17 15:34 | caristu | Status | resolved => closed | |||||||||
2017-11-17 15:34 | caristu | Fixed in Version | => 3.0PR17Q3.2 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|