Project

General

Profile

Bug #2015

Importing via the webform causes it to not replace the existing work

Added by Luke Murphey over 7 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
Start date:
08/23/2017
Due date:
% Done:

100%

Associated revisions

Revision 763 (diff)
Added by lukemurphey over 7 years ago

Improving workflow for importing work from

Importing a work with overwrite set no longer produces two entries. Reference #2015.

Form no longer generates an error when you import twice in a row. Reference #2014.

History

#1 Updated by Luke Murphey over 7 years ago

  • Target version set to 1.6

#2 Updated by Luke Murphey over 7 years ago

Here is the call stack:

  • import_xml_document
    • Calls make_work() which gets the slug
    • Calls delete_equivalent_works if overwrite is set to true
    • Calls self.work.save()

Note that make_work() occurs before delete_equivalent_works()

#3 Updated by Luke Murphey over 7 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF