Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0039661Openbravo ERPA. Platformpublic2018-11-21 11:582018-11-23 13:37
Leyre 
caristu 
urgentmajoralways
closedfixed 
5
 
3.0PR18Q43.0PR18Q4 
alostale
Core
Production - Confirmed Stable
2018-02-23
3.0PR18Q2
https://code.openbravo.com/erp/devel/pi/rev/4a1f3df29564b6dd12259981f941d0d5d74bebab [^]
No
0039661: Error deactivating an Organization
You can not consult information about an Organization that is deactivated
1. Log in to the Backoffice -> Openbravo/openbravo

https://livebuilds.openbravo.com/retail_mp_3.0RR18Q3.2/security/Login [^]

Role = The White Valley Group Admin - The White Valley Group

2. Deactivate an Organization, for example White Valley Spain S.A

3. End Session and log in again with the same user.

4. Check that the information of this Organization can not be consulted.

* This happens for example in the "Financial Account" window. You can not filter by White Valley Spain Organization.
This worked correctly in the 18Q1 version.
No tags attached.
blocks defect 0039660 closed caristu Error deactivating an Organization 
Issue History
2018-11-21 12:52caristuTypedefect => backport
2018-11-21 12:52caristuTarget Version => 3.0PR18Q4
2018-11-21 16:22hgbotCheckin
2018-11-21 16:22hgbotNote Added: 0108041
2018-11-21 16:22hgbotStatusscheduled => resolved
2018-11-21 16:22hgbotResolutionopen => fixed
2018-11-21 16:22hgbotFixed in SCM revision => http://code.openbravo.com/erp/backports/3.0PR18Q4/rev/5bb9fa24c5b1c01806139f6f277b834149790041 [^]
2018-11-23 13:37alostaleNote Added: 0108082
2018-11-23 13:37alostaleStatusresolved => closed
2018-11-23 13:37alostaleFixed in Version => 3.0PR18Q4

Notes
(0108041)
hgbot   
2018-11-21 16:22   
Repository: erp/backports/3.0PR18Q4
Changeset: 5bb9fa24c5b1c01806139f6f277b834149790041
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Wed Nov 21 16:21:34 2018 +0100
URL: http://code.openbravo.com/erp/backports/3.0PR18Q4/rev/5bb9fa24c5b1c01806139f6f277b834149790041 [^]

fixes bug 39661: Standard DS isn't returning information of deactivated orgs

  Before this changeset[1] access to inactive organization was being given because getOrganizationStructureProvider().getNaturalTree(o)) does not filter by active organizations.

  Now that method is not being invoked when having direct access to "0" but the getOrganizations() method which indeed filters by active organizations.

  In order to be consistent, now the getOrganizations() method does no longer filter by active.

---
M src/org/openbravo/dal/core/OBContext.java
---
(0108082)
alostale   
2018-11-23 13:37   
reviewed + tested