diff --git a/content/2016-02.md b/content/2016-02.md index b37fdbab8..3bc32ce01 100644 --- a/content/2016-02.md +++ b/content/2016-02.md @@ -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")` diff --git a/public/2016-02/index.html b/public/2016-02/index.html index b04801b97..8052018e4 100644 --- a/public/2016-02/index.html +++ b/public/2016-02/index.html @@ -335,6 +335,23 @@ CIAT_COLOMBIA_000169_Técnicas_para_el_aislamiento_y_cultivo_de_protoplastos_de_ + +

2016-02-20

+ + + +
java.io.FileNotFoundException: /usr/share/tomcat7/SimpleArchiveFormat/item_1021/CIAT_COLOMBIA_000075_Medición_de_palatabilidad_en_forrajes.pdf (No such file or directory)
+
+ + diff --git a/public/index.xml b/public/index.xml index c41ac3077..0b631ba1e 100644 --- a/public/index.xml +++ b/public/index.xml @@ -273,6 +273,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,}/, &quot;_&quot;)</code></li> +</ul> + +<h2 id="2016-02-20:124a59adbaa8ef13e1518d003fc03981">2016-02-20</h2> + +<ul> +<li>Turns out the &ldquo;bug&rdquo; in SAFBuilder isn&rsquo;t a bug, it&rsquo;s a feature that allows you to encode extra information like the destintion bundle in the filename</li> +<li>Also, it seems DSpace&rsquo;s SAF import tool doesn&rsquo;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&hellip;</li> +<li>Useful custom text facet for URLs ending with &ldquo;.pdf&rdquo;: <code>value.endsWith(&quot;.pdf&quot;)</code></li> </ul> diff --git a/public/tags/notes/index.xml b/public/tags/notes/index.xml index 1b5cde904..52422b38c 100644 --- a/public/tags/notes/index.xml +++ b/public/tags/notes/index.xml @@ -273,6 +273,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,}/, &quot;_&quot;)</code></li> +</ul> + +<h2 id="2016-02-20:124a59adbaa8ef13e1518d003fc03981">2016-02-20</h2> + +<ul> +<li>Turns out the &ldquo;bug&rdquo; in SAFBuilder isn&rsquo;t a bug, it&rsquo;s a feature that allows you to encode extra information like the destintion bundle in the filename</li> +<li>Also, it seems DSpace&rsquo;s SAF import tool doesn&rsquo;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&hellip;</li> +<li>Useful custom text facet for URLs ending with &ldquo;.pdf&rdquo;: <code>value.endsWith(&quot;.pdf&quot;)</code></li> </ul>