Skip to content

JAXBException while updating an existing dashboard #10805

@allyoucanmap

Description

@allyoucanmap

Description

There is an error while trying to update an existing

Request to update an existing dashboard:

curl 'https://dev-mapstore.geosolutionsgroup.com/mapstore/rest/geostore/resources/resource/21694' \
  -X 'PUT' \
  --data-raw $'<Resource><description><\u0021[CDATA[Filtering Capabilities]]></description><metadata></metadata><name><\u0021[CDATA[3 - Demo Dashboard]]></name><advertised>true</advertised><Attributes><attribute><name>detailsSettings</name><value>{"showAsModal":false,"showAtStartup":false}</value><type>STRING</type></attribute><attribute><name>details</name><value>rest/geostore/data/47320</value><type>STRING</type></attribute><attribute><name>featured</name><value>true</value><type>STRING</type></attribute><attribute><name>thumbnail</name><value>rest/geostore/data/21716/raw?decode=datauri&v=c363c6a0-990e-11eb-ba73-0fc9473ccf1f</value><type>STRING</type></attribute></Attributes></Resource>'

400 Error:

JAXBException occurred : Unexpected character '=' (code 61); expected a semi-colon after the reference for entity 'v'
 at [row,col {unknown-source}]: [1,573]. 

How to reproduce

  • login as admin
  • open this dashboard
  • open the resource metadata details
  • edit tags
  • save

Expected Result

The save process completes without errors

Current Result

There is a 400 Error on the backend

Image

  • Not browser related
Browser info (use this site: https://www.whatsmybrowser.org/ for non expert users)
Browser Affected Version
Internet Explorer
Edge
Chrome
Firefox
Safari

Other useful information

found in this review #10796 (review)

Metadata

Metadata

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions