Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0037281 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
backport | [Openbravo ERP] A. Platform | minor | always | 2017-11-13 10:58 | 2017-11-16 10:09 | |||
Reporter | malsasua | View Status | public | |||||
Assigned To | inigosanchez | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | 3.0PR17Q4 | |||
Status | closed | Fix in branch | Fixed in SCM revision | c98883362072 | ||||
Projection | none | ETA | none | Target Version | 3.0PR17Q4 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | caristu | |||||||
Web browser | ||||||||
Modules | Core | |||||||
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 | 0037281: Deactivated roles are displayed in the role dropdown of user section | |||||||
Description | The deactivated roles are displayed in the dropdown of roles availables to the user. | |||||||
Steps To Reproduce | 1. Login as "F&B International Group Admin" role with "Openbravo" user. 2. Go to [User] window and select Openbravo user. 3. Go to [User Roles] subtab and deactivated a role.(e.g. "F&B US, Inc. - Employee"). 4. Do logout and login with previous user. 5. Open [User profile widget] and open the role dropdown. --> Check than deactivated rol is shown. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
Notes | |
(0100514) hgbot (developer) 2017-11-14 13:54 |
Repository: erp/backports/3.0PR17Q4 Changeset: c988833620720f2cf0b898d7ed82357391dac022 Author: Inigo Sanchez <inigo.sanchez <at> openbravo.com> Date: Tue Nov 14 13:53:41 2017 +0100 URL: http://code.openbravo.com/erp/backports/3.0PR17Q4/rev/c988833620720f2cf0b898d7ed82357391dac022 [^] Fixed issue 37281: Deactivated roles are displayed in the user profile widget The problem was caused by the "Improve scalability of the login process" project. When improving the performance of the query that return the complete role list for the current user, the OBQuery instance used to generate it was replaced with a Query instance. The first includes by default the filter by is active. To fix the problem this filter must be added manually in the query. Now the problem has been resolved by take into account this filter. --- M modules/org.openbravo.client.application/src/org/openbravo/client/application/navigationbarcomponents/UserInfoComponent.java --- |
(0100543) caristu (developer) 2017-11-16 10:09 |
Code reviewed + tested OK. |
Issue History | |||
Date Modified | Username | Field | Change |
2017-11-13 13:29 | inigosanchez | Type | defect => backport |
2017-11-13 13:29 | inigosanchez | Target Version | => 3.0PR17Q4 |
2017-11-14 13:51 | inigosanchez | Review Assigned To | => caristu |
2017-11-14 13:54 | hgbot | Checkin | |
2017-11-14 13:54 | hgbot | Note Added: 0100514 | |
2017-11-14 13:54 | hgbot | Status | scheduled => resolved |
2017-11-14 13:54 | hgbot | Resolution | open => fixed |
2017-11-14 13:54 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/backports/3.0PR17Q4/rev/c988833620720f2cf0b898d7ed82357391dac022 [^] |
2017-11-16 10:09 | caristu | Note Added: 0100543 | |
2017-11-16 10:09 | caristu | Status | resolved => closed |
2017-11-16 10:09 | caristu | Fixed in Version | => 3.0PR17Q4 |
Copyright © 2000 - 2009 MantisBT Group |