Ticket #176 (closed defect: fixed)

Opened 4 years ago

Last modified 3 years ago

[Bulkupload] Updating mediafiles in combination with <collections> and/or <categories> tags will give errors

Reported by: Frans Owned by: arjen
Priority: major Milestone: MediaMosa 2.3
Component: Core Version:
Keywords: Cc:
MoSCoW: Must Have Estimated time after impact analysis:
Related to project: none Tested:
Accepted: no Estimated Hours: 5

Description (last modified by Frans) (diff)

When using <action>update</action> in the formats section to replace the existing mediafile you will see an error in the bulkupload response indication that the asset can't be placed in the given collection or category because it already exists there.

“Errors:
 - MM - the asset is already present in the collection
 - Error while adding asset '3GmAnFtk1MtDEg0KP54gkmNX' to collection '80D5Q9h8bvhtrwIsmHCqW41X'
 - MM - the asset is already present in the collection
 - Error while adding asset '4BVZIK8gpwDUFGyR8nnDiL7V' to collection '80D5Q9h8bvhtrwIsmHCqW41X'
 - MM - the asset is already present in the collection
 - Error while adding asset '3ddB2FRVemLl2IJ1IbpxugqZ' to collection '80D5Q9h8bvhtrwIsmHCqW41X'
 - MM - the asset is already present in the collection
 - Error while adding asset '3GmAnFtk1MtDEg0KP54gkmNX' to category '4'
 - MM - the asset is already present in the collection
 - Error while adding asset '4BVZIK8gpwDUFGyR8nnDiL7V' to category '4'
 - MM - the asset is already present in the collection
 - Error while adding asset '3ddB2FRVemLl2IJ1IbpxugqZ' to category '4'

Je moet het probleem eerst verhelpen alvorens je het nogmaals kan proberen.

Je .vuf upload file is verwijderd, de rest van de files zijn blijven staan zodat je deze niet nogmaals hoeft te plaatsen.:”

Would suggest a similar behavior when using action=update in combination with <collections> or <catagories> tags:
- not supplied -> let the asset be in the existing collection
- supplied -> update the collection the asset is part of

Change History

Changed 4 years ago by Frans

  • description modified (diff)

Changed 3 years ago by Frans

  • moscow set to Could Have
  • milestone changed from MediaMosa X.X to MediaMosa 2.1

Changed 3 years ago by Frans

  • moscow changed from Could Have to Should Have
  • milestone changed from MediaMosa 2.1 to MediaMosa 2.2

Changed 3 years ago by Frans

  • moscow changed from Should Have to Must Have
  • milestone changed from MediaMosa 2.2 to MediaMosa 2.3

No idea if this is still appropriate, since the bulkupload is refactured in MM 2.2

Changed 3 years ago by peter

  • estimated_hours set to 5

Changed 3 years ago by forgacs

  • owner set to forgacs
  • status changed from new to assigned

Changed 3 years ago by forgacs

  • owner changed from forgacs to robert

We have fixed this issue. There was a bug in the /asset/$asset_id/collection_relation/delete REST call, and it was a development in the XML parser process.php file to clean the collections.

Changed 3 years ago by forgacs

  • owner changed from robert to arjen

Changed 3 years ago by robert

  • status changed from assigned to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.