Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0041088Openbravo ERPA. Platformpublic2019-06-13 12:332019-06-17 13:32
alostale 
alostale 
normaltrivialhave not tried
closedfixed 
5
 
3.0PR19Q3 
caristu
Core
No
0041088: incorrect organization warn message logged in some test cases
Some test cases log "The user 100 does not have write access to its current organization repairing that" whenever they are executed.
Run, for example, org.openbravo.test.webservice.WSReadTest.testPagedWhereClause test case.
  -> Check in the log appears that warning message
No tags attached.
related to defect 0041090 closed alostale missing log context info when setting an incorrect org in OBContext 
Issue History
2019-06-13 12:33alostaleNew Issue
2019-06-13 12:33alostaleAssigned To => platform
2019-06-13 12:33alostaleModules => Core
2019-06-13 12:33alostaleTriggers an Emergency Pack => No
2019-06-13 12:33alostaleAssigned Toplatform => alostale
2019-06-13 12:43alostaleRelationship addedrelated to 0041090
2019-06-17 09:08hgbotCheckin
2019-06-17 09:08hgbotNote Added: 0112801
2019-06-17 09:08hgbotStatusnew => resolved
2019-06-17 09:08hgbotResolutionopen => fixed
2019-06-17 09:08hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/2dea5405f752100f5bda064692094f9fe56f8b8a [^]
2019-06-17 09:08hgbotCheckin
2019-06-17 09:08hgbotNote Added: 0112803
2019-06-17 09:09alostaleReview Assigned To => caristu
2019-06-17 12:46caristuNote Added: 0112814
2019-06-17 12:46caristuStatusresolved => closed
2019-06-17 12:46caristuFixed in Version => 3.0PR19Q3
2019-06-17 12:46caristuNote Edited: 0112814bug_revision_view_page.php?bugnote_id=0112814#r18927
2019-06-17 13:32hudsonbotCheckin
2019-06-17 13:32hudsonbotNote Added: 0112817
2019-06-17 13:32hudsonbotCheckin
2019-06-17 13:32hudsonbotNote Added: 0112819

Notes
(0112801)
hgbot   
2019-06-17 09:08   
Repository: erp/devel/pi
Changeset: 2dea5405f752100f5bda064692094f9fe56f8b8a
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Thu Jun 13 12:58:16 2019 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/2dea5405f752100f5bda064692094f9fe56f8b8a [^]

fixed issue 41088: incorrect org warn message logged in some test cases

  OBBaseTest.setTestAdminContext set system admin role with a non system client
  and org resulting in warning message as that orgainzation is not writable from
  system.

  Now setTestAdminContext sets system client and org.

---
M src-test/src/org/openbravo/test/base/OBBaseTest.java
M src-test/src/org/openbravo/test/base/TestConstants.java
---
(0112803)
hgbot   
2019-06-17 09:08   
Repository: erp/devel/pi
Changeset: ca0c09f90ddbf9613c66ccc9b4c32ba2071c6154
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Fri Jun 14 07:48:44 2019 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/ca0c09f90ddbf9613c66ccc9b4c32ba2071c6154 [^]

related to issue 41088: fixed failing test cases

 Previously client/org/role was incorrectly set, some test cases relied on those
 settings.

 Now using group admin role instead of sys admin and fixed the rest of cases.

---
M src-test/src/org/openbravo/test/base/OBBaseTest.java
M src-test/src/org/openbravo/test/base/TestConstants.java
M src-test/src/org/openbravo/test/dal/DalQueryTest.java
M src-test/src/org/openbravo/test/dal/DalTest.java
M src-test/src/org/openbravo/test/dal/ViewTest.java
M src-test/src/org/openbravo/test/modularity/DatasetServiceTest.java
M src-test/src/org/openbravo/test/security/AccessLevelTest.java
M src-test/src/org/openbravo/test/security/CrossOrganizationReference.java
M src-test/src/org/openbravo/test/security/EntityAccessTest.java
M src-test/src/org/openbravo/test/security/ExplicitCrossOrganizationReference.java
M src-test/src/org/openbravo/test/xml/EntityXMLImportTestSingle.java
M src-test/src/org/openbravo/test/xml/EntityXMLIssues.java
M src-test/src/org/openbravo/test/xml/UniqueConstraintImportTest.java
---
(0112814)
caristu   
2019-06-17 12:46   
Reviewed + tested OK

(0112817)
hudsonbot   
2019-06-17 13:32   
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/0d93e33c5440 [^]
Maturity status: Test
(0112819)
hudsonbot   
2019-06-17 13:32   
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/0d93e33c5440 [^]
Maturity status: Test