Comments (6)
Also worth noting that, when the offending JSON comes first, the batchCreate doesn't recover and move on
from csvimport.
Fixed by simply trim()
ing the file urls, but still raising an eyebrow about the Completed status and batchCreate not moving on things described above. Thoughts on those, @zerocrates @jimsafley ?
from csvimport.
You're setting continueOnError to true, so it just logs exceptions and keeps trying with the next item.
from csvimport.
That makes sense of the reaching Completed status, but it doesn't look like it really does move on to the next item.
from csvimport.
Yeah, if that's the case that there's some problem moving on, that would be the bug here, if there is one.
from csvimport.
To reproduce:
Checkout master branch, which doesn't have the trim
on fileUrl in Import::buildMediaJson
Run the import on the old, omeka 2 test file for CSVImport. Map whatever, e.g. 'title' to dcterms:title
, and check file
for the file Csv Header.
First row has two files, which breaks, and it doesn't move along.
Move or remove the double-file in the CSV file. Import again.
My results are that as soon as it hits the double-file, the import stops and does not move on to the next row.
from csvimport.
Related Issues (20)
- Invalid settings: basic-settings: Array HOT 7
- User import doesn't send emails HOT 1
- Styling issue with Language input (with core on develop)
- items and media imported, but not linked together
- Wrong position on medias with MariaDB >=10.6 HOT 9
- Appends lose value annotation data from existing values
- CSV Import says status “completed,” but no results HOT 9
- Add user manual link & help text HOT 2
- Switch to openspout
- PHP error on "Append data to the resource" and "Revise data of the resource" csv import HOT 5
- Testing for CSV Import 2.5.0 HOT 11
- "Automap" when unchecked still automaps HOT 2
- "Result" column improvements HOT 1
- CSV throws an exception and skip item import if latitude is empty HOT 3
- Automap expansion
- Testing/docs: resource-identifier-property branch HOT 9
- Setting languages during import HOT 2
- Feature Suggestion: Config Persistence
- resource:item saved as item in the db
- Request: add event to query builder
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from csvimport.