User Tools

Site Tools


en:release:3.08_release_notes

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:release:3.08_release_notes [2020/06/22 08:13] – [Important Changes and Bug Fixes] anupamaen:release:3.08_release_notes [2023/03/13 01:46] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +
 +
 +
 ====== Greenstone 3.08 Release Notes ====== ====== Greenstone 3.08 Release Notes ======
  
Line 241: Line 244:
  
 ==== Troubleshooting ==== ==== Troubleshooting ====
 +
 +=== Can't link to original files via cross collection search ===
 +
 +When using cross collection search, if you try to view associated files, e.g. PDF files (instead of the Greenstone document) you will get errors like "ERROR: Assoc file paths must now contain the library name". To fix this please edit web/sites/localsite/siteConfig.xml.
 +
 +Look for 
 +<code>
 +<gsf:template match="documentNode">
 +   <xsl:variable name="collname" select="@collection"/>
 +   <td><gsf:if-metadata-exists><gsf:metadata name="srclinkFile"/>
 +<gsf:if><a><xsl:attribute name='href'>sites/localsite/collect/<xsl:value-of select='@collection'/>
 +/index/assoc/<gsf:metadata name="assocfilepath"/>/<gsf:metadata name="srclinkFile"/>
 +</xsl:attribute><gsf:choose-metadata><gsf:metadata name="thumbicon"/>
 +<gsf:metadata name="srcicon"/></gsf:choose-metadata></a></gsf:if></gsf:if-metadata-exists></td>
 +</code>
 +
 +Add <xsl:value-of select="$library_name"/>/ at the start of the href value, i.e.
 +
 +<code>
 +<gsf:template match="documentNode">
 +   <xsl:variable name="collname" select="@collection"/>
 +   <td><gsf:if-metadata-exists><gsf:metadata name="srclinkFile"/>
 +<gsf:if><a><xsl:attribute name='href'><xsl:value-of select="$library_name"/>/sites/localsite
 +/collect/<xsl:value-of select='@collection'/>/index/assoc/<gsf:metadata name="assocfilepath"/>
 +/<gsf:metadata name="srclinkFile"/></xsl:attribute><gsf:choose-metadata>
 +<gsf:metadata name="thumbicon"/><gsf:metadata name="srcicon"/></gsf:choose-metadata></a></gsf:if></gsf:if-metadata-exists></td>
 +</code>
 +
 === SIGPIPE errors when building a collection === === SIGPIPE errors when building a collection ===
   - **If your indexer is set to ''solr''**, a newer version of the solr extension has been fixed to circumvent a SIGPIPE error caused by a problem in one of Java's HttpURLConnection related classes. You can try one of the following:   - **If your indexer is set to ''solr''**, a newer version of the solr extension has been fixed to circumvent a SIGPIPE error caused by a problem in one of Java's HttpURLConnection related classes. You can try one of the following:
en/release/3.08_release_notes.1592813601.txt.gz · Last modified: 2020/06/22 08:13 by anupama