bug #3240
closedmedia/{uuid}/metadata service fails with some metadata
0%
Description
The according media page (http://www.palmweb.org/?q=cdm_dataportal/media/c3ab3ef1-7983-4ca3-afdf-c4476fdec835) of the image shows some of the metadata, but not all of them. There is a minor irregularity in the image itself which may cause the problem. It is found in the IPTC field 'Chraracter Set' which seems to contain some special characters.
Our server in fact dislikes something in the meta-data and fails with an error.
The server must be more robust against non standard characters in the meta data.
the server error:
Problem accessing /palmae/media/c3ab3ef1-7983-4ca3-afdf-c4476fdec835/metadata. Reason: 0x20 is not a legal NCName character Caused by: nu.xom.IllegalNameException: 0x20 is not a legal NCName character at nu.xom.Verifier.throwIllegalNameException(Unknown Source) at nu.xom.Verifier.checkNCName(Unknown Source) at nu.xom.Element._setLocalName(Unknown Source) at nu.xom.Element.<init>(Unknown Source) at nu.xom.Element.<init>(Unknown Source) at net.sf.json.xml.XMLSerializer.newElement(XMLSerializer.java:869) at net.sf.json.xml.XMLSerializer.processJSONObject(XMLSerializer.java:989) at net.sf.json.xml.XMLSerializer.write(XMLSerializer.java:605) at net.sf.json.xml.XMLSerializer.write(XMLSerializer.java:570) at eu.etaxonomy.cdm.remote.view.JsonView.render(JsonView.java:150) at eu.etaxonomy.cdm.remote.view.JsonView.render(JsonView.java:191)
Related issues
Updated by Andreas Kohlbecker almost 3 years ago
- Related to task #9715: Specimen Tree View: option to choose summaryLabel or collectingString for fieldUnit label added
Updated by Andreas Kohlbecker almost 3 years ago
- Description updated (diff)
- Status changed from New to Resolved
- Priority changed from New to Priority10
- Target version changed from cdmlib - Old Next Major Release to Release 5.45
- Private changed from Yes to No
might have been fixed by #9715
Updated by Andreas Kohlbecker over 2 years ago
- Status changed from Resolved to Duplicate
- Target version deleted (
Release 5.45)
confirming that the issue is solved: http://test.e-taxonomy.eu/cdmserver/palmae/media/c3ab3ef1-7983-4ca3-afdf-c4476fdec835/metadata?applyFilterPreset=false
closing as duplicate of #9722
Updated by Andreas Kohlbecker over 2 years ago
- Related to deleted (task #9715: Specimen Tree View: option to choose summaryLabel or collectingString for fieldUnit label)
Updated by Andreas Kohlbecker over 2 years ago
- Is duplicate of bug #9722: invalid response serialization of media/{uuid}/metadata.json added