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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0007060
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformmajorhave not tried2009-01-21 16:542009-03-06 12:34
ReportermtaalView Statuspublic 
Assigned Tomtaal 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision12135
ProjectionnoneETAnoneTarget Versionpi
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0007060: REST: when posting an xml without the Openbravo roottag an unclear error message is given

DescriptionCurrently the error message: not the same object is given.

It should be something related to the mandatory root tag.

This is an example of an incorrect doocument:
  <Hotel_Guest id="064E6CCE55D04548B9C2B8F36DF73BB2" identifier="Spuzvica Cevapovic">
    <calculateGuestType/>
    <id>064E6CCE55D04548B9C2B8F36DF73BB2</id>
    <client id="1000000" entity-name="ADClient" identifier="BigBazaar"/>
    <organization id="0" entity-name="Organization" identifier="*"/>
    <isActive>true</isActive>
</Hotel_Guest>

It should be:
<?xml version="1.0" encoding="UTF-8"?>

<ob:Openbravo xmlns:ob="http://www.openbravo.com" [^] created="Wed Jan 21 16:32:06 CET 2009" ob-version="2.50" ob-revision="11999">
  <Hotel_Guest id="064E6CCE55D04548B9C2B8F36DF73BB2" identifier="Spuzvica Cevapovic">
    <calculateGuestType/>
    <id>064E6CCE55D04548B9C2B8F36DF73BB2</id>
    <client id="1000000" entity-name="ADClient" identifier="BigBazaar"/>
    <organization id="0" entity-name="Organization" identifier="*"/>
    <isActive>true</isActive>
</Hotel_Guest>
</ob:Openbravo>
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0012509)
svnbot (reporter)
2009-01-22 10:47

Repository: openbravo
Revision: 12135
Author: mtaal
Date: 2009-01-22 10:46:59 +0100 (Thu, 22 Jan 2009)

Fixes issue 7076, REST: paging parameters in GET url do not seem to work correctly
Fixes issue 7060, REST: when posting an xml without the Openbravo roottag an unclear error message is given
This commit contains the testcases to proof that the issues have been fixed, the real fix is in revision 12131

---
U trunk/src-test/org/openbravo/test/webservice/BaseWSTest.java
U trunk/src-test/org/openbravo/test/webservice/WSReadTest.java
U trunk/src-test/org/openbravo/test/webservice/WSUpdateTest.java
---

https://dev.openbravo.com/websvn/openbravo/?rev=12135&sc=1 [^]

- Issue History
Date Modified Username Field Change
2009-01-21 16:54 mtaal New Issue
2009-01-21 16:54 mtaal Assigned To => mtaal
2009-01-21 16:54 mtaal sf_bug_id 0 => 2526402
2009-01-21 16:54 mtaal Regression testing => No
2009-01-22 10:47 svnbot Checkin
2009-01-22 10:47 svnbot Note Added: 0012509
2009-01-22 10:47 svnbot Status new => resolved
2009-01-22 10:47 svnbot Resolution open => fixed
2009-01-22 10:47 svnbot svn_revision => 12135
2009-03-06 12:34 psarobe Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker