[VANITY-33] Export in vanity url app doesn't work Created: 03/Mar/23  Updated: 03/Mar/23

Status: Open
Project: Vanity URL app
Component/s: None
Affects Version/s: 1.6.0
Fix Version/s: 1.6.1

Type: Bug Priority: Neutral
Reporter: Frank Sommer Assignee: Frank Sommer
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled

 Description   

Steps to reproduce

  1. Open vanity url app
  2. select a vanity url item
  3. try to export

Expected results

Export as XML should work.

Actual results

Export as YAML breaks with following error log message.

Caused by: java.lang.UnsupportedOperationException: command.error.binary.export.not.supported
        at info.magnolia.importexport.exporter.YamlExporter.getPropertyTypeTag(YamlExporter.java:101) ~[magnolia-core-6.2.22.jar:?]
        at info.magnolia.importexport.exporter.YamlExporter.exportProperty(YamlExporter.java:77) ~[magnolia-core-6.2.22.jar:?]
        at org.apache.jackrabbit.commons.xml.Exporter.exportProperty(Exporter.java:362) ~[jackrabbit-jcr-commons-2.20.4.jar:?]
        at org.apache.jackrabbit.commons.xml.Exporter.exportProperties(Exporter.java:267) ~[jackrabbit-jcr-commons-2.20.4.jar:?]
        at org.apache.jackrabbit.commons.xml.DocumentViewExporter.exportNode(DocumentViewExporter.java:72) ~[jackrabbit-jcr-commons-2.20.4.jar:?] 

Generated at Mon Feb 12 11:10:15 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.