Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0034977 | Openbravo ERP | C. Security | public | 2017-01-17 10:14 | 2017-03-15 20:18 |
|
Reporter | egoitz | |
Assigned To | inigosanchez | |
Priority | urgent | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | 3.0PR17Q2 | |
Merge Request Status | |
Review Assigned To | alostale |
OBNetwork customer | |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | Production - Confirmed Stable |
Regression date | 2016-06-15 |
Regression introduced in release | 3.0PR16Q3 |
Regression introduced by commit | https://code.openbravo.com/erp/devel/pi/rev/463564b77a032485223cc070cf0aa66f6f0e03d8 [^] |
Triggers an Emergency Pack | No |
|
Summary | 0034977: A deactivated organization can not be activated again. |
Description | If you deactivate an organization you can not activate it again as the row is not ediable. |
Steps To Reproduce | -Access on an application with F&B data
-Using admin role deactivate the España sur organization
-Logout and login with the same role.
-check that the España sur organization is not editable so you can not activate it |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | depends on | backport | 0035064 | 3.0PR17Q1 | closed | inigosanchez | A deactivated organization can not be activated again. | depends on | backport | 0035065 | 3.0PR16Q4.3 | closed | inigosanchez | A deactivated organization can not be activated again. | depends on | backport | 0035066 | 3.0PR16Q3.6 | closed | inigosanchez | A deactivated organization can not be activated again. | caused by | defect | 0033166 | | closed | alostale | Role with access to one organization can edit all of them in Organization window |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2017-01-17 10:14 | egoitz | New Issue | |
2017-01-17 10:14 | egoitz | Assigned To | => platform |
2017-01-17 10:14 | egoitz | Modules | => Core |
2017-01-17 10:14 | egoitz | Triggers an Emergency Pack | => No |
2017-01-18 14:34 | eugeni | Issue Monitored: eugeni | |
2017-01-20 08:49 | alostale | Priority | normal => urgent |
2017-01-20 08:49 | alostale | Status | new => acknowledged |
2017-01-20 08:49 | alostale | Summary | An deactivated organization can not be activated again. => A deactivated organization can not be activated again. |
2017-01-20 08:52 | alostale | Status | acknowledged => scheduled |
2017-01-20 08:52 | alostale | Assigned To | platform => inigosanchez |
2017-01-23 13:15 | maite | Resolution time | => 1486249200 |
2017-01-25 08:37 | caristu | Relationship added | caused by 0033166 |
2017-01-25 09:16 | caristu | Regression level | => Production - Confirmed Stable |
2017-01-25 09:16 | caristu | Regression date | => 2016-06-15 |
2017-01-25 09:16 | caristu | Regression introduced in release | => 3.0PR16Q3 |
2017-01-25 09:16 | caristu | Regression introduced by commit | => https://code.openbravo.com/erp/devel/pi/rev/463564b77a032485223cc070cf0aa66f6f0e03d8 [^] |
2017-01-25 09:16 | caristu | Severity | major => minor |
2017-01-27 01:01 | inigosanchez | Status | scheduled => acknowledged |
2017-01-27 01:01 | inigosanchez | Status | acknowledged => scheduled |
2017-01-27 01:43 | inigosanchez | Review Assigned To | => caristu |
2017-01-27 01:45 | hgbot | Checkin | |
2017-01-27 01:45 | hgbot | Note Added: 0093855 | |
2017-01-27 01:45 | hgbot | Status | scheduled => resolved |
2017-01-27 01:45 | hgbot | Resolution | open => fixed |
2017-01-27 01:45 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/356f374645a18c17873328ef74e9be6bca414fcc [^] |
2017-01-27 11:52 | inigosanchez | Review Assigned To | caristu => alostale |
2017-01-27 11:52 | inigosanchez | Note Added: 0093872 | |
2017-02-01 16:03 | alostale | Note Added: 0093991 | |
2017-02-01 16:03 | alostale | Status | resolved => new |
2017-02-01 16:03 | alostale | Resolution | fixed => open |
2017-02-01 16:14 | inigosanchez | Status | new => scheduled |
2017-02-01 19:14 | hgbot | Checkin | |
2017-02-01 19:14 | hgbot | Note Added: 0093998 | |
2017-02-01 19:15 | inigosanchez | Status | scheduled => resolved |
2017-02-01 19:15 | inigosanchez | Resolution | open => fixed |
2017-02-03 07:13 | alostale | Note Added: 0094022 | |
2017-02-03 07:13 | alostale | Status | resolved => closed |
2017-02-03 07:13 | alostale | Fixed in Version | => 3.0PR17Q2 |
2017-02-27 16:39 | inigosanchez | Note Added: 0094644 | |
2017-03-15 20:18 | hudsonbot | Checkin | |
2017-03-15 20:18 | hudsonbot | Note Added: 0095123 | |
2017-03-15 20:18 | hudsonbot | Checkin | |
2017-03-15 20:18 | hudsonbot | Note Added: 0095151 | |
Notes |
|
(0093855)
|
hgbot
|
2017-01-27 01:45
|
|
Repository: erp/devel/pi
Changeset: 356f374645a18c17873328ef74e9be6bca414fcc
Author: Inigo Sanchez <inigo.sanchez <at> openbravo.com>
Date: Fri Jan 27 01:44:41 2017 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/356f374645a18c17873328ef74e9be6bca414fcc [^]
Fixed issue 34977: A deactivated organization can not be activated again.
When an organization was disabled you could not activate it again as the row was not ediable. This
problem was introduced in a fix related with the code of addWritableAttribute() method of
DefaultJsonDataService class. Before this fix, It was managing the reported case properly (Activate
again a deactivated organization) because this method was handling the particular case of Organizations.
Now is taking into account this particular case (deactivate organizations) in order to manages this
particular case properly. Now it is possible to activate again a deactivate organization.
---
M modules/org.openbravo.service.json/src/org/openbravo/service/json/DefaultJsonDataService.java
M src/org/openbravo/dal/core/OBContext.java
M src/org/openbravo/dal/security/SecurityChecker.java
---
|
|
|
|
TestLink > 3.0 Test Suite > Regression test cases > Test cases for 3.0PR16Q3:
> 34977 A deactivated organization should be activated again
> 34977 Role with access to one organization can't edit the rest of organizations |
|
|
|
|
|
(0093998)
|
hgbot
|
2017-02-01 19:14
|
|
Repository: erp/devel/pi
Changeset: 0ebde0551a1ffd24a8bbe1345ad00d895039e3b6
Author: Inigo Sanchez <inigo.sanchez <at> openbravo.com>
Date: Wed Feb 01 19:13:34 2017 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/0ebde0551a1ffd24a8bbe1345ad00d895039e3b6 [^]
Related with issue 34977: Codereview improvements
Some changes related with improving performance and legibility.
---
M modules/org.openbravo.service.json/src/org/openbravo/service/json/DefaultJsonDataService.java
M src/org/openbravo/dal/core/OBContext.java
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|