Bug #4339

Strict standard warning when running CSV import from the web frontend

Added by Jesús García Crespo almost 10 years ago. Updated about 9 years ago.

Status:VerifiedStart date:
Priority:MediumDue date:
Assignee:José Raddaoui Marín% Done:

0%

Category:CSV importEstimated time:2.00 hours
Target version:Release 1.4.0
Google Code Legacy ID:atom-2391 Tested version:
Sponsored:No Requires documentation:

Description

Strict Standards: Non-static method QubitFlatfileImport::createOrFetchTerm() should not be called statically, assuming $this from incompatible context in /home/sevein/www/qubit-svn/lib/task/import/csvImportTask.class.php on line 82

Strict Standards: Non-static method QubitFlatfileImport::sqlQuery() should not be called statically, assuming $this from incompatible context in /home/sevein/www/qubit-svn/lib/QubitFlatfileImport.class.php on line 1179

[g] Legacy categories: Import/Export

Whitespace_warning_CSV_import.PNG (13.4 KB) Dan Gillean, 01/02/2013 01:16 PM

untitled_empty_imports_CSV.PNG - upon import, AtoM is populated with a series of empty descriptions ) (56.4 KB) Dan Gillean, 01/02/2013 01:16 PM

townley_matheson_fonds_isadg.csv Magnifier - One of the CSV test files used during QA Review (9.76 KB) Dan Gillean, 01/02/2013 01:19 PM

example_information_objects_isad.csv Magnifier - qubit-toolkit csv example (2.74 KB) José Raddaoui Marín, 05/01/2013 06:50 AM

History

#1 Updated by Mike Cantelon over 9 years ago

[g] New owner: Mike Cantelon

#2 Updated by Mike Cantelon over 9 years ago

  • Status changed from New to QA/Review

Should be fixed.

[g] New owner: Jesús García Crespo

#3 Updated by Jessica Bushey over 9 years ago

  • Sponsored set to No

Jesus - how am i supposed to test this issue?

#4 Updated by Jesús García Crespo over 9 years ago

  • Target version changed from Release 1.3 to Release 1.4.0

Jessica, try importing a CSV file from the web interface in debug mode. If you don't see the error message, it should be good.

#5 Updated by Dan Gillean over 9 years ago

#6 Updated by Dan Gillean over 9 years ago

Issues encountered, possibly due to other changes in CSV import/export management. Working with a CSV export from an AtoM archival description (attached for reference):

First encountered a warning re: "whitespace on line 0"
Import completed with only a series of blank descriptions (see attached screenshots)

Please include instructions for QA testing (and if possible, an attached CSV file for testing) when changing the status of this issue, so we can follow up.

#7 Updated by Jesús García Crespo about 9 years ago

  • Assignee changed from Mike Cantelon to José Raddaoui Marín

#8 Updated by Jesús García Crespo about 9 years ago

  • Estimated time set to 2.00

#9 Updated by José Raddaoui Marín about 9 years ago

The problem is that the CSV file you attach is malformed. I try to remove the whitespace and change the columns names to camelCase, but then other error happened.

If I do the import with the ISAD example in [[https://www.qubit-toolkit.org/wiki/CSV_import]], everything works perfect.

I'm attaching the example.

#10 Updated by José Raddaoui Marín about 9 years ago

  • Status changed from Feedback to QA/Review

#12 Updated by Jessica Bushey about 9 years ago

I used the file Radda provided and was able to import without errors, BUT, the information object was untitled and had no information in it, even when I had added information to the CSV file.
I'm going to try importing another CSV file that we know is compliant and see what happens.

#13 Updated by Jessica Bushey about 9 years ago

Tried with a compliant CSV. file and had the same problem, untitled and empty of information. Will continue testing.

#14 Updated by Jessica Bushey about 9 years ago

  • Status changed from QA/Review to Verified

We ran another CSV file and it worked. No errors. No untitled.

Also available in: Atom PDF