Index: src/main/java/info/magnolia/cms/core/DefaultNodeData.java =================================================================== --- src/main/java/info/magnolia/cms/core/DefaultNodeData.java (revision 25937) +++ src/main/java/info/magnolia/cms/core/DefaultNodeData.java (working copy) @@ -297,13 +297,25 @@ public Value[] getValues() { try { return this.property.getValues(); - } - catch (Exception e) { + } catch (ValueFormatException ex) { + try { + //JCR-1464 needed for export of multivalue property with only one item + return new Value[] { this.property.getValue() }; + } catch (ValueFormatException e) { + if (log.isDebugEnabled()) { + log.debug(e.getMessage(), e); + } + } catch (RepositoryException e) { + if (log.isDebugEnabled()) { + log.debug(e.getMessage(), e); + } + } + } catch (RepositoryException e) { if (log.isDebugEnabled()) { log.debug(e.getMessage(), e); } - return (Value[])null; } + return (Value[]) null; } public String getString(String lineBreak) { @@ -633,7 +645,7 @@ public void setParent(Content parent) { this.parent = parent; } - + public String toString() { if (this.property == null || this.node == null) { return super.toString();