Import of CSV file via web UI throws fatal error (2.0.x only)
|Assignee:||Dan Gillean||% Done:|
|Target version:||Release 2.0.1|
|Google Code Legacy ID:||Tested version:|
- Checkout AtoM stable/2.0.x branch
- Login as administrator
- Click "Import > CSV"
- Click "Browse" button, and select "Kiti_works.csv" CSV file (attached)
- Leave other settings at default (Archival description import, don't disable search index)
- Click "Import"
Result from stable/2.0.x @ eb4a479
Error encountered PHP Fatal error: Call to a member function enable() on a non-object in /home/vagrant/atom-2/lib/search/QubitSearch.class.php on line 57 Fatal error: Call to a member function enable() on a non-object in /home/vagrant/atom-2/lib/search/QubitSearch.class.php on line 57
A checkout of AtoM 2.x@6e72a07 returns:
Error encountered Could not find information object matching slug "church-of-panagia-angeloktistos-kiti-cyprus"
(Assuming parent record does not exist)
#6 Updated by Dan Gillean over 8 years ago
- File pub-status.png added
- Status changed from QA/Review to Verified
I tested by 1) creating the parent description, and then importing directly under the parent (i.e. with CSV import option in context menu of parent), as well as 2) creating the parent description and then using the Import option in the Main Menu. In both cases, import worked.
One note - errors were thrown for each description on the publication status. See attached screenshot. This seems to me to relate to issue #5832 and/or #5945 - the import still worked, but the pub status reverted to the application default. consequently, I am marking this as verified - we can deal with publication status roundtrip issues on one of the related tickets.