Bug #11409
CSV import: using the qubitParentSlug column throws an error causing the import to fail
Status: | Verified | Start date: | 08/08/2017 | |
---|---|---|---|---|
Priority: | High | Due date: | ||
Assignee: | - | % Done: | 0% | |
Category: | CSV import | |||
Target version: | Release 2.4.0 | |||
Google Code Legacy ID: | Tested version: | 2.4 | ||
Sponsored: | No | Requires documentation: |
Description
First reported in the User forum (2017-08-04); recreated locally in updated 2.4 Vagrant box. Forum link: https://groups.google.com/d/msg/ica-atom-users/s8Uw3pZNJCc/dozmXGSvAAAJ
To reproduce
- Create a new top-level description named "test". Ensure that the slug of the description is "test" when saved.
- Import the attached CSV - it includes one row from the sample ISAD CSV (the item level description), with "test" in the qubitParentSlug column
Resulting error
- The import fails. The following error is given in the Job details page:
PHP Fatal error: Call to undefined function getIdCorrespondingToSlug() in /usr/share/nginx/atom/lib/task/import/csvImportTask.class.php on line 643
Expected result
A new description should be created from the contents of the CSV, attached as a child record of "test". The import should complete without errors.
History
#1 Updated by Nick Wilkinson almost 5 years ago
- Assignee changed from Nick Wilkinson to Steve Breker
HI Steve, can you please look into this?
#2 Updated by Steve Breker almost 5 years ago
- Status changed from New to Code Review
- Assignee changed from Steve Breker to Nick Wilkinson
Ready for CR.
#3 Updated by Steve Breker almost 5 years ago
- File test.csv
added
Test CSV from the forum link that I used to test is attached.
#4 Updated by Nick Wilkinson almost 5 years ago
- Assignee changed from Nick Wilkinson to José Raddaoui Marín
Hi Radda, assigning to you for CR.
#5 Updated by José Raddaoui Marín almost 5 years ago
- Status changed from Code Review to Feedback
- Assignee changed from José Raddaoui Marín to Steve Breker
#6 Updated by Steve Breker almost 5 years ago
- Status changed from Feedback to QA/Review
MikeG gave thumbs up on github.
Fix is now merged to 2.4.
#7 Updated by Steve Breker almost 5 years ago
- Assignee changed from Steve Breker to Nick Wilkinson
#8 Updated by Nick Wilkinson almost 5 years ago
- Assignee changed from Nick Wilkinson to Dan Gillean
#9 Updated by Dan Gillean almost 5 years ago
- Status changed from QA/Review to Verified
- Assignee deleted (
Dan Gillean)