Project

General

Profile

Actions

bug #3240

closed

media/{uuid}/metadata service fails with some metadata

Added by Andreas Kohlbecker over 11 years ago. Updated over 2 years ago.

Status:
Duplicate
Priority:
Priority10
Category:
cdmlib-remote
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Severity:
normal
Found in Version:

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

Is duplicate of EDIT - bug #9722: invalid response serialization of media/{uuid}/metadata.json ClosedAndreas Kohlbecker

Actions
Actions #1

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
Actions #2

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

Actions #3

Updated by Andreas Kohlbecker over 2 years ago

  • Status changed from Resolved to Duplicate
  • Target version deleted (Release 5.45)
Actions #4

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)
Actions #5

Updated by Andreas Kohlbecker over 2 years ago

  • Is duplicate of bug #9722: invalid response serialization of media/{uuid}/metadata.json added
Actions

Also available in: Atom PDF