Opened 13 years ago

Closed 13 years ago

#686 closed defect (fixed)

Thesaurus manager failed to load a thesaurus from URL without extension

Reported by: fxp Owned by: geonetwork-devel@…
Priority: major Milestone: v2.7.0
Component: General Version:
Keywords: Cc:

Description

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</url>
</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" />

Change History (2)

comment:1 by fxp, 13 years ago

Milestone: Future releasev2.7.0

comment:2 by fxp, 13 years ago

Resolution: fixed
Status: newclosed

Committed revision 8474.

Note: See TracTickets for help on using tickets.