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:
@ -335,6 +335,23 @@ CIAT_COLOMBIA_000169_Técnicas_para_el_aislamiento_y_cultivo_de_protoplastos_de_
|
||||
<ul>
|
||||
<li>Re-deploy CGSpace, run all system updates, and reboot</li>
|
||||
<li>More work on CIAT data, cleaning and doing a last metadata-only import into DSpace Test</li>
|
||||
<li>SAFBuilder has a bug preventing it from processing filenames containing more than one underscore</li>
|
||||
<li>Need to re-process the filename column to replace multiple underscores with one: <code>value.replace(/_{2,}/, "_")</code></li>
|
||||
</ul>
|
||||
|
||||
<h2 id="2016-02-20:124a59adbaa8ef13e1518d003fc03981">2016-02-20</h2>
|
||||
|
||||
<ul>
|
||||
<li>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</li>
|
||||
<li>Also, it seems DSpace’s SAF import tool doesn’t like importing filenames that have accents in them:</li>
|
||||
</ul>
|
||||
|
||||
<pre><code>java.io.FileNotFoundException: /usr/share/tomcat7/SimpleArchiveFormat/item_1021/CIAT_COLOMBIA_000075_Medición_de_palatabilidad_en_forrajes.pdf (No such file or directory)
|
||||
</code></pre>
|
||||
|
||||
<ul>
|
||||
<li>Need to rename files to have no accents or umlauts, etc…</li>
|
||||
<li>Useful custom text facet for URLs ending with “.pdf”: <code>value.endsWith(".pdf")</code></li>
|
||||
</ul>
|
||||
|
||||
</section>
|
||||
|
Reference in New Issue
Block a user