Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0041088
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformtrivialhave not tried2019-06-13 12:332019-06-17 13:32
ReporteralostaleView Statuspublic 
Assigned Toalostale 
PrioritynormalResolutionfixedFixed in Version3.0PR19Q3
StatusclosedFix in branchFixed in SCM revision2dea5405f752
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tocaristu
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0041088: incorrect organization warn message logged in some test cases

DescriptionSome test cases log "The user 100 does not have write access to its current organization repairing that" whenever they are executed.
Steps To ReproduceRun, for example, org.openbravo.test.webservice.WSReadTest.testPagedWhereClause test case.
  -> Check in the log appears that warning message
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0041090 closedalostale missing log context info when setting an incorrect org in OBContext 

-  Notes
(0112801)
hgbot (developer)
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 (developer)
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 (developer)
2019-06-17 12:46
edited on: 2019-06-17 12:46

Reviewed + tested OK

(0112817)
hudsonbot (developer)
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 (developer)
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

- Issue History
Date Modified Username Field Change
2019-06-13 12:33 alostale New Issue
2019-06-13 12:33 alostale Assigned To => platform
2019-06-13 12:33 alostale Modules => Core
2019-06-13 12:33 alostale Triggers an Emergency Pack => No
2019-06-13 12:33 alostale Assigned To platform => alostale
2019-06-13 12:43 alostale Relationship added related to 0041090
2019-06-17 09:08 hgbot Checkin
2019-06-17 09:08 hgbot Note Added: 0112801
2019-06-17 09:08 hgbot Status new => resolved
2019-06-17 09:08 hgbot Resolution open => fixed
2019-06-17 09:08 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/2dea5405f752100f5bda064692094f9fe56f8b8a [^]
2019-06-17 09:08 hgbot Checkin
2019-06-17 09:08 hgbot Note Added: 0112803
2019-06-17 09:09 alostale Review Assigned To => caristu
2019-06-17 12:46 caristu Note Added: 0112814
2019-06-17 12:46 caristu Status resolved => closed
2019-06-17 12:46 caristu Fixed in Version => 3.0PR19Q3
2019-06-17 12:46 caristu Note Edited: 0112814 View Revisions
2019-06-17 13:32 hudsonbot Checkin
2019-06-17 13:32 hudsonbot Note Added: 0112817
2019-06-17 13:32 hudsonbot Checkin
2019-06-17 13:32 hudsonbot Note Added: 0112819


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker