Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0035158Openbravo ERPA. Platformpublic2017-02-03 13:232017-03-15 20:19
caristu 
caristu 
normalminoralways
closedfixed 
5
 
3.0PR17Q2 
alostale
Core
No
0035158: GrantPortalAccessProcess is invoking unbalanced calls to setAdminMode and restorePreviousMode
GrantPortalAccessProcess is invoking unbalanced calls to setAdminMode and restorePreviousMode
1- Go to the [Role] window and create a new portal role (with the flag "For Portal Users" checked off).

2- Go to the [Business Partner] window and select any record. Navigate to the [Contact] tab. Create a new record if it does not exist any.

3- Click on the "Grant Portal Access" button. In the pop-up select the role created in step 1) an execute the process.

The following error is displayed in the log: "WARN org.openbravo.dal.core.OBContext - Unbalanced calls to setAdminMode and restorePreviousMode. Consider setting the constant OBContext.ADMIN_TRACE_SIZE to a value higher than 0 to debug this situation"
No tags attached.
related to feature request 00233003.0MP22 closed alostale Process to create portal users 
Issue History
2017-02-03 13:23caristuNew Issue
2017-02-03 13:23caristuAssigned To => caristu
2017-02-03 13:23caristuModules => Core
2017-02-03 13:23caristuTriggers an Emergency Pack => No
2017-02-03 13:24caristuSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=14463#r14463
2017-02-03 13:27caristuRelationship addedrelated to 0023300
2017-02-03 13:30hgbotCheckin
2017-02-03 13:30hgbotNote Added: 0094039
2017-02-03 13:30hgbotStatusnew => resolved
2017-02-03 13:30hgbotResolutionopen => fixed
2017-02-03 13:30hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/0c91a26dca81b11bde13cf04268a8f6b8a06c932 [^]
2017-02-03 13:30caristuReview Assigned To => alostale
2017-02-10 08:44alostaleNote Added: 0094204
2017-02-10 08:44alostaleStatusresolved => closed
2017-02-10 08:44alostaleFixed in Version => 3.0PR17Q2
2017-03-15 20:19hudsonbotCheckin
2017-03-15 20:19hudsonbotNote Added: 0095158

Notes
(0094039)
hgbot   
2017-02-03 13:30   
Repository: erp/devel/pi
Changeset: 0c91a26dca81b11bde13cf04268a8f6b8a06c932
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Fri Feb 03 13:25:53 2017 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/0c91a26dca81b11bde13cf04268a8f6b8a06c932 [^]

fixes issue 35158: restore context to previous mode

---
M src/org/openbravo/portal/GrantPortalAccessProcess.java
---
(0094204)
alostale   
2017-02-10 08:44   
reviewed
(0095158)
hudsonbot   
2017-03-15 20:19   
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/54e102bef53e [^]
Maturity status: Test