When importing items using the Bulk Import module with an XML mapper, assigning a thumbnail via <to field="o:thumbnail> with datatype="uri" results in the creation of two separate assets for the same image.
Even though only one rule is defined for o:thumbnail, two identical assets are created in Omeka S, and the item is assigned the second one as the actual thumbnail.
<map> <from xpath="/record/datafield[@tag='XXX']/subfield[@code='a']"/> <to field="o:thumbnail" datatype="uri"/> </map>
Observed behavior:
- Two assets are created for the same image URI.
- The item is assigned the second asset as the thumbnail.
Expected behavior:
- Only one asset should be created for the thumbnail URI.
- That asset should be assigned to the item as its thumbnail.
- No media or additional asset duplication should occur unless explicitly mapped.
When importing items using the Bulk Import module with an XML mapper, assigning a thumbnail via <to field="o:thumbnail> with datatype="uri" results in the creation of two separate assets for the same image.
Even though only one rule is defined for o:thumbnail, two identical assets are created in Omeka S, and the item is assigned the second one as the actual thumbnail.
<map> <from xpath="/record/datafield[@tag='XXX']/subfield[@code='a']"/> <to field="o:thumbnail" datatype="uri"/> </map>Observed behavior:
Expected behavior: