1.6b3 Read error when using Archetype/Import

I wanted to clone an archetype.  There being no Copy function on the Administration|Archetypes screen, I thought 'no worries - I will export, edit and then import'.  I successfully exported the archetype, edited it to change its name and display name, and then saved it under a different file name in the same download folder that it had been exported to.

I then went back to the Administration|Archetypes screen and clicked Import.  It asked me for the file name and I browsed to it and selected it. I then pressed Send and got the Red Error pop up saying ???? Read Error ????

The first few lines of the error text are below.  I have no idea whether this is a bug, or I am doing something wrong.

Regards, Tim

<error-report>

<version>1.6-beta-3</version>

<revision>4887</revision>

<message>???ReadError???</message>

<exception>

<type>org.openvpms.component.business.domain.im.archetype.descriptor.DescriptorException</type>

<message>???ReadError???</message>

<stackTrace>

<trace>org.openvpms.component.business.domain.im.archetype.descriptor.DescriptorIOHelper.read(DescriptorIOHelper.java:57)</trace>

<trace>org.openvpms.component.business.domain.im.archetype.descriptor.ArchetypeDescriptors.read(ArchetypeDescriptors.java:112)</trace>

<trace>org.openvpms.web.app.admin.archetype.ArchetypeCRUDWindow.loadArchetypes(ArchetypeCRUDWindow.java:205)</trace>

<trace>org.openvpms.web.app.admin.archetype.ArchetypeCRUDWindow.upload(ArchetypeCRUDWindow.java:188)</trace>

Syndicate content