mirror of
https://github.com/alanorth/cgspace-notes.git
synced 2025-01-27 05:49:12 +01:00
Add notes for 2016-02-20
This commit is contained in:
@ -228,3 +228,17 @@ value.unescape("url")
|
||||
|
||||
- Re-deploy CGSpace, run all system updates, and reboot
|
||||
- More work on CIAT data, cleaning and doing a last metadata-only import into DSpace Test
|
||||
- SAFBuilder has a bug preventing it from processing filenames containing more than one underscore
|
||||
- Need to re-process the filename column to replace multiple underscores with one: `value.replace(/_{2,}/, "_")`
|
||||
|
||||
## 2016-02-20
|
||||
|
||||
- Turns out the "bug" in SAFBuilder isn't a bug, it's a feature that allows you to encode extra information like the destintion bundle in the filename
|
||||
- Also, it seems DSpace's SAF import tool doesn't like importing filenames that have accents in them:
|
||||
|
||||
```
|
||||
java.io.FileNotFoundException: /usr/share/tomcat7/SimpleArchiveFormat/item_1021/CIAT_COLOMBIA_000075_Medición_de_palatabilidad_en_forrajes.pdf (No such file or directory)
|
||||
```
|
||||
|
||||
- Need to rename files to have no accents or umlauts, etc...
|
||||
- Useful custom text facet for URLs ending with ".pdf": `value.endsWith(".pdf")`
|
||||
|
Reference in New Issue
Block a user