[GeoNetwork-devel] [GeoNetwork opensource Developer website] #686: Thesaurus manager failed to load a thesaurus from URL without extension

#686: Thesaurus manager failed to load a thesaurus from URL without extension
---------------------+------------------------------------------------------
Reporter: fxp | Owner: geonetwork-devel@…
     Type: defect | Status: new
Priority: major | Milestone: Future release
Component: General | Version:
Keywords: |
---------------------+------------------------------------------------------
Error is :

{{{
2011-11-30 10:20:00,820 INFO [jeeves.service] - Dispatching :
xml.thesaurus.upload
2011-11-30 10:20:00,821 DEBUG [jeeves.service] - -> parameters are :
<request>
   <dir>theme</dir>
   <rb-auto>1</rb-auto>
   <type>external</type>
   <url>http://vocab.ndg.nerc.ac.uk/list/A020/3&lt;/url&gt;
</request>
2011-11-30 10:25:00,902 ERROR [jeeves.service] - Exception when executing
service
2011-11-30 10:25:00,902 ERROR [jeeves.service] - (C) Exc :
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
2011-11-30 10:25:00,903 DEBUG [jeeves.service] - Raised exception while
executing service
<error id="error">
   <message>String index out of range: -1</message>
   <class>StringIndexOutOfBoundsException</class>
   <stack>
     <at class="java.lang.String" file="String.java" line="1931"
method="substring" />
     <at class="java.lang.String" file="String.java" line="1904"
method="substring" />
     <at class="org.fao.geonet.services.thesaurus.Upload"
file="Upload.java" line="179" method="upload" />
}}}

--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/686&gt;
GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/&gt;
GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software.

#686: Thesaurus manager failed to load a thesaurus from URL without extension
---------------------+------------------------------------------------------
Reporter: fxp | Owner: geonetwork-devel@…
     Type: defect | Status: new
Priority: major | Milestone: v2.7.0
Component: General | Version:
Keywords: |
---------------------+------------------------------------------------------
Changes (by fxp):

  * milestone: Future release => v2.7.0

--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/686#comment:1&gt;
GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/&gt;
GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software.

#686: Thesaurus manager failed to load a thesaurus from URL without extension
----------------------+-----------------------------------------------------
  Reporter: fxp | Owner: geonetwork-devel@…
      Type: defect | Status: closed
  Priority: major | Milestone: v2.7.0
Component: General | Version:
Resolution: fixed | Keywords:
----------------------+-----------------------------------------------------
Changes (by fxp):

  * status: new => closed
  * resolution: => fixed

Comment:

Committed revision 8474.

--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/686#comment:2&gt;
GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/&gt;
GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software.