Filename and web path
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 32/100
Direzione di ricerca
The bug is in how CsvImport sets original_filename for files fetched by URL, so start with the file-import code path in the plugin and the place where the source URL is passed to Omeka core's file downloading. Confirm the bug by importing a row whose file column is a URL like http://example.org/tmp/myfile.jpg and checking the stored original_filename. Done means the stored name is myfile.jpg, verified by a test or a manual import. Core download handling may need to change, so check with maintainers first.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Currently, when CSVImport is used to add items with files, the newly created files received an original_filename that is the full web path of the file. That would be great to just get the filename as the web path will often be a temporary path, used to allow CSVImport to get the files over the web.
To add an example, when adding a record, I don't want the file to have for original_filename:
http://example.org/tmp/myfile.jpg but rather myfile.jpg
I am not sure that just a CsvImport fix could fix that with the current way omeka core handle file downloading.
- Lingua principale
- PHP
- Stelle
- 20
- Fork
- 32
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di omeka/plugin-CsvImport
-
Testing: Update supportForse di nuovo libera @allanaaa l’ha presa 229 giorni fa e non c’è nessuna pull request aperta. Aperta
omeka/plugin-CsvImport#77 · 8 commenti · 1 assegnatario ·
-
Add LicenseForse di nuovo libera @zerocrates l’ha presa 1486 giorni fa e non c’è nessuna pull request aperta. Aperta
omeka/plugin-CsvImport#76 · 1 reazione · 1 assegnatario ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
omeka/plugin-CsvImport#75 · 1 commento ·
-
HTML lang attributes get stripped outForse di nuovo libera @patrickmj l’ha presa 3372 giorni fa e non c’è nessuna pull request aperta. Aperta
omeka/plugin-CsvImport#70 · 1 commento · 1 assegnatario ·
-
Feature Request: CSV UpdateAperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 15/100
omeka/plugin-CsvImport#58 · 7 commenti ·
Tutte le issue di omeka/plugin-CsvImport
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
sync-en
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
I maintainer di solito rispondono entro 1 giorno
-
sync-en
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
I maintainer di solito rispondono entro 1 giorno
-
Перевод устарел
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
nplhse/collaborative-ivena-statistics#1464 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno