Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0012883Openbravo ERPA. Platformpublic2010-04-06 16:072010-04-19 21:12
mtaal 
mtaal 
normalmajorhave not tried
closedfixed 
5
pi 
pi 
Core
No
0012883: Rest Webservice testcases fail because test data is not what is expected
Two rest webservice testcases fail because the test data has changed slightly. See the attachment. The testcases have to be made more robust for test data changes.
No tags attached.
txt testlog.txt (10,587) 2010-04-06 16:07
https://issues.openbravo.com/file_download.php?file_id=2408&type=bug
txt 12883_test_log.txt (15,509) 2010-04-09 18:32
https://issues.openbravo.com/file_download.php?file_id=2421&type=bug
Issue History
2010-04-06 16:07mtaalNew Issue
2010-04-06 16:07mtaalAssigned To => mtaal
2010-04-06 16:07mtaalFile Added: testlog.txt
2010-04-07 08:35hgbotCheckin
2010-04-07 08:35hgbotNote Added: 0025921
2010-04-07 08:35hgbotStatusnew => resolved
2010-04-07 08:35hgbotResolutionopen => fixed
2010-04-07 08:35hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/3cc3917c2808021b366e034260ad92548fa8fe15 [^]
2010-04-07 16:45shuehnerNote Added: 0025951
2010-04-07 16:45shuehnerStatusresolved => new
2010-04-07 16:45shuehnerResolutionfixed => open
2010-04-08 09:33hgbotCheckin
2010-04-08 09:33hgbotNote Added: 0025966
2010-04-08 09:33hgbotStatusnew => resolved
2010-04-08 09:33hgbotResolutionopen => fixed
2010-04-08 09:33hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/devel/pi/rev/3cc3917c2808021b366e034260ad92548fa8fe15 [^] => http://code.openbravo.com/erp/devel/pi/rev/13d2fc73db5debd9067ee917bf3eac9ca1c25dfa [^]
2010-04-09 18:32shuehnerNote Added: 0026041
2010-04-09 18:32shuehnerStatusresolved => new
2010-04-09 18:32shuehnerResolutionfixed => open
2010-04-09 18:32shuehnerFile Added: 12883_test_log.txt
2010-04-09 20:30shuehnerStatusnew => scheduled
2010-04-09 20:30shuehnerfix_in_branch => pi
2010-04-09 20:31shuehnerNote Added: 0026046
2010-04-09 20:31shuehnerStatusscheduled => resolved
2010-04-09 20:31shuehnerResolutionopen => fixed
2010-04-09 20:32shuehnerNote Added: 0026047
2010-04-09 20:32shuehnerStatusresolved => closed
2010-04-10 00:00anonymoussf_bug_id0 => 2984778
2010-04-19 21:12hudsonbotCheckin
2010-04-19 21:12hudsonbotNote Added: 0026425
2010-04-19 21:12hudsonbotCheckin
2010-04-19 21:12hudsonbotNote Added: 0026433

Notes
(0025921)
hgbot   
2010-04-07 08:35   
Repository: erp/devel/pi
Changeset: 3cc3917c2808021b366e034260ad92548fa8fe15
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Wed Apr 07 08:47:08 2010 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/3cc3917c2808021b366e034260ad92548fa8fe15 [^]

fixes issue 12883: Rest Webservice testcases fail because test data is not what is expected

---
M src-test/org/openbravo/test/webservice/WSReadTest.java
M src-test/org/openbravo/test/webservice/WSUpdateTest.java
---
(0025951)
shuehner   
2010-04-07 16:45   
Reopened, testcases also fail with user Openbravo having a default role which is not System Administrator.
(0025966)
hgbot   
2010-04-08 09:33   
Repository: erp/devel/pi
Changeset: 13d2fc73db5debd9067ee917bf3eac9ca1c25dfa
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Thu Apr 08 09:45:22 2010 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/13d2fc73db5debd9067ee917bf3eac9ca1c25dfa [^]

fixes issue 12883: Rest Webservice testcases fail because test data is not what is expected

---
M src-test/org/openbravo/test/webservice/WSReadTest.java
---
(0026041)
shuehner   
2010-04-09 18:32   
Reopened, still fails with default role = 'Openbravo Admin'

This time in WSReadUpdateTest, as last commit did only modify WSReadTest
(0026046)
shuehner   
2010-04-09 20:31   
Marking as resolved again, reopening was wrong, issue is resolved and fix working.
(0026047)
shuehner   
2010-04-09 20:32   
Tested in pi/postgresql, rev: 6c78ad9d5176, test now running fine against a standard pi, even with default role change to be i.e. Openbravo Admin instead of System Administrator.
(0026425)
hudsonbot   
2010-04-19 21:12   
A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/3cc3917c2808 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/91d98bda46c1 [^]
Tests: http://builds.openbravo.com/view/devel-int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.17088.obx [^]
(0026433)
hudsonbot   
2010-04-19 21:12   
A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/13d2fc73db5d [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/91d98bda46c1 [^]
Tests: http://builds.openbravo.com/view/devel-int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.17088.obx [^]