Bug #10175

Correct filename specified in Keymap table for CSV and XML uploads via the WebUI

Added by Steve Breker almost 4 years ago. Updated about 3 years ago.

Status:VerifiedStart date:08/03/2016
Priority:MediumDue date:
Assignee:-% Done:

0%

Category:Import/ExportEstimated time:4.00 hours
Target version:Release 2.4.0
Google Code Legacy ID: Tested version:2.4
Sponsored:No Requires documentation:

Description

CSV and XML files uploaded via the WebUI generate keymap table records when uploaded. These keymap records are used for matching import records to records in the database.

Currently uploaded files are assigned a randomly generated temporary file name. This temp file name is being used to create the temp file record when it would be desirable to have the actual uploaded file name used in the keymap record instead. This would ensure successful matching when CSV or XML files are uploaded to perform record updates.

History

#1 Updated by Steve Breker almost 4 years ago

See importAction.class.php where $file['tmp_name'] is passed to the import methods for csv and xml imports.

#2 Updated by Steve Breker almost 4 years ago

  • Status changed from New to Code Review
  • Assignee changed from Steve Breker to Nick Wilkinson

PR completed. Ready for code review.

https://github.com/artefactual/atom/pull/425

#3 Updated by Nick Wilkinson almost 4 years ago

  • Assignee changed from Nick Wilkinson to Mike Gale

Hi Mike, assigning to you for CR.

#4 Updated by Mike Gale almost 4 years ago

  • Assignee changed from Mike Gale to Steve Breker

It looks good to me.

#5 Updated by Steve Breker almost 4 years ago

  • Status changed from Code Review to QA/Review
  • Assignee changed from Steve Breker to Dan Gillean

Merged - ready for QA.

#6 Updated by Dan Gillean about 3 years ago

  • Assignee deleted (Dan Gillean)

#7 Updated by Dan Gillean about 3 years ago

  • Status changed from QA/Review to Verified
  • Requires documentation deleted (No)

Also available in: Atom PDF