Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0035763Openbravo ERPA. Platformpublic2017-04-12 10:172017-05-29 17:43
caristu 
caristu 
immediateminorN/A
closedfixed 
5
 
3.0PR17Q3 
alostale
Core
Pre packaging ( pi )
2017-04-06
pi
https://code.openbravo.com/erp/devel/pi/rev/68a8d2bbfff523ea5d907e4e963ae4ff296403d7 [^]
No
0035763: User name should be retrieved using admin mode in VerticalMenu
After the changes introduced in the following project[1]. The user name is retrieved in VerticalMenu through the OBContext instead of using a query.

This is causing inestabilities in the qa-pi-addpaymen job in CI, because of the following error:

"org.openbravo.base.exception.OBSecurityException - Entity ADUser is not directly readable, only id and identifier properties are readable, property ADUser.username is neither of these"

[1] http://wiki.openbravo.com/wiki/Projects:Login_Page_Clean_Up [^]
See [1] and [2]
[1] http://ci.openbravo.com/view/qa/job/qa-pi-addpayment-pgsql/715/ [^]
[2] http://ci.openbravo.com/view/qa/job/qa-pi-addpayment-pgsql/715/consoleText [^]
To avoid this problem the user name should be retrieved in admin mode.
No tags attached.
caused by feature request 0035386 closed caristu Login page needs some clean up 
related to defect 0036879 closed shuehner Clean-up unused Sqlc parameters related with the Login page 
Issue History
2017-04-12 10:17caristuNew Issue
2017-04-12 10:17caristuAssigned To => caristu
2017-04-12 10:17caristuModules => Core
2017-04-12 10:17caristuTriggers an Emergency Pack => No
2017-04-12 10:17caristuDescription Updatedbug_revision_view_page.php?rev_id=15007#r15007
2017-04-12 10:19caristuDescription Updatedbug_revision_view_page.php?rev_id=15008#r15008
2017-04-12 10:19caristuSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=15010#r15010
2017-04-12 10:30caristuRelationship addedcaused by 0035386
2017-04-12 10:31caristuRegression level => Pre packaging ( pi )
2017-04-12 10:31caristuRegression date => 2017-04-06
2017-04-12 10:31caristuRegression introduced in release => pi
2017-04-12 10:31caristuRegression introduced by commit => https://code.openbravo.com/erp/devel/pi/rev/68a8d2bbfff523ea5d907e4e963ae4ff296403d7 [^]
2017-04-12 10:31hgbotCheckin
2017-04-12 10:31hgbotNote Added: 0096005
2017-04-12 10:31hgbotStatusnew => resolved
2017-04-12 10:31hgbotResolutionopen => fixed
2017-04-12 10:31hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/ea17fb07cf9488c0ed21b1d0d84364ae925f3e60 [^]
2017-04-12 10:31caristuReview Assigned To => alostale
2017-04-12 18:34caristuPrioritynormal => immediate
2017-04-24 12:22alostaleNote Added: 0096127
2017-04-24 12:22alostaleStatusresolved => closed
2017-04-24 12:22alostaleFixed in Version => 3.0PR17Q3
2017-05-29 17:43hudsonbotCheckin
2017-05-29 17:43hudsonbotNote Added: 0096887
2017-09-18 16:21caristuRelationship addedrelated to 0036879

Notes
(0096005)
hgbot   
2017-04-12 10:31   
Repository: erp/devel/pi
Changeset: ea17fb07cf9488c0ed21b1d0d84364ae925f3e60
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Wed Apr 12 10:25:22 2017 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/ea17fb07cf9488c0ed21b1d0d84364ae925f3e60 [^]

fixes issue 35763: User name should be retrieved using admin mode

---
M src/org/openbravo/erpCommon/utility/VerticalMenu.java
---
(0096127)
alostale   
2017-04-24 12:22   
reviewed
(0096887)
hudsonbot   
2017-05-29 17:43   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/1ee70113bdc4 [^]
Maturity status: Test