Filename and web path
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 32/100
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- PHP
- Estrellas
- 20
- Forks
- 32
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de omeka/plugin-CsvImport
-
Testing: Update supportQuizá libre de nuevo @allanaaa la tomó hace 229 días y no hay ningún pull request abierto. Abierto
omeka/plugin-CsvImport#77 · 8 comentarios · 1 asignado ·
-
Add LicenseQuizá libre de nuevo @zerocrates la tomó hace 1486 días y no hay ningún pull request abierto. Abierto
omeka/plugin-CsvImport#76 · 1 reacción · 1 asignado ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 25/100
omeka/plugin-CsvImport#75 · 1 comentario ·
-
HTML lang attributes get stripped outQuizá libre de nuevo @patrickmj la tomó hace 3372 días y no hay ningún pull request abierto. Abierto
omeka/plugin-CsvImport#70 · 1 comentario · 1 asignado ·
-
Feature Request: CSV UpdateAbierto
Dificultad 4/5 3-5 días Aptitud para principiantes 15/100
omeka/plugin-CsvImport#58 · 7 comentarios ·
Todos los issues de omeka/plugin-CsvImport
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
sync-en
Dificultad 1/5 Menos de una hora Aptitud para principiantes 85/100
Los mantenedores suelen responder en 1 día
-
sync-en
Dificultad 1/5 Menos de una hora Aptitud para principiantes 85/100
Los mantenedores suelen responder en 1 día
-
Перевод устарел
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
nplhse/collaborative-ivena-statistics#1464 · 1 comentario ·
Los mantenedores suelen responder en 1 día