#1179: StringIndexOutOfBounds exception in LuceneQueryBuilder#addLocaleTerm when
requestedLanguageOnly value is 'false'
---------------------+------------------------------------------------------
Reporter: simonp | Owner: geonetwork-devel@…
Type: defect | Status: new
Priority: blocker | Milestone: v2.9.0
Component: General | Version: v2.8.0RC2
Keywords: |
---------------------+------------------------------------------------------
Reported by brian.ohare@...96...:
I'm getting StringIndexOutOfBounds exception in
LuceneQueryBuilder#addLocaleTerm when requestedLanguageOnly value is
'false'. Not sure if I've configured the database settings correctly as
code seems to check for prefix 'only_' or 'prefer'. Exception occurs in
'prefer' check, so perhaps should be more stringent checking there? This
breaks search for me on 2.8.x RC2.
--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/1179>
GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/>
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.
#1179: StringIndexOutOfBounds exception in LuceneQueryBuilder#addLocaleTerm when
requestedLanguageOnly value is 'false'
---------------------+------------------------------------------------------
Reporter: simonp | Owner: geonetwork-devel@…
Type: defect | Status: new
Priority: blocker | Milestone: v2.9.0
Component: General | Version: v2.8.0RC2
Keywords: |
---------------------+------------------------------------------------------
Comment(by simonp):
Brian,
Is this on the latest build of RC2? I committed a patch that changed some
of this logic yesterday (Dec 11). I'll check it out in the latest build
shortly.
Simon
--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/1179#comment:1>
GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/>
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.
#1179: StringIndexOutOfBounds exception in LuceneQueryBuilder#addLocaleTerm when
requestedLanguageOnly value is 'false'
---------------------+------------------------------------------------------
Reporter: simonp | Owner: geonetwork-devel@…
Type: defect | Status: new
Priority: blocker | Milestone: v2.9.0
Component: General | Version: v2.8.0RC2
Keywords: |
---------------------+------------------------------------------------------
Comment(by simonp):
....and so there is no confusion here - the author of the patch was Jesse
Eichar (I backported it to 2.8.x RC2) - so feel free to step in Jesse....
--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/1179#comment:2>
GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/>
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.
#1179: StringIndexOutOfBounds exception in LuceneQueryBuilder#addLocaleTerm when
requestedLanguageOnly value is 'false'
---------------------+------------------------------------------------------
Reporter: simonp | Owner: geonetwork-devel@…
Type: defect | Status: new
Priority: blocker | Milestone: v2.9.0
Component: General | Version: v2.8.0RC2
Keywords: |
---------------------+------------------------------------------------------
Comment(by simonp):
Can't reproduce it in the latest RC2 built - checked all the options and
they seem to work as I would expect (at least I can see the locale query
and language detection stuff doing what I would expect for each option).
--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/1179#comment:3>
GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/>
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.
#1179: StringIndexOutOfBounds exception in LuceneQueryBuilder#addLocaleTerm when
requestedLanguageOnly value is 'false'
---------------------+------------------------------------------------------
Reporter: simonp | Owner: geonetwork-devel@…
Type: defect | Status: new
Priority: blocker | Milestone: v2.9.0
Component: General | Version: v2.8.0RC2
Keywords: |
---------------------+------------------------------------------------------
Comment(by bjohare):
Hi Simon,
Yes its the latest build of RC2. It's not against a clean install of the
database though which may be the issue. Is there some sql I can to run to
update the multilingual settings?
cheers,
Brian.
--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/1179#comment:4>
GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/>
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.
#1179: StringIndexOutOfBounds exception in LuceneQueryBuilder#addLocaleTerm when
requestedLanguageOnly value is 'false'
---------------------+------------------------------------------------------
Reporter: simonp | Owner: geonetwork-devel@…
Type: defect | Status: new
Priority: blocker | Milestone: v2.9.0
Component: General | Version: v2.8.0RC2
Keywords: |
---------------------+------------------------------------------------------
Comment(by jesseeichar):
The migration scripts should contain the sql you need. Take a look at
them.
The migration task only runs if the previous version is 2.6 or earlier so
they probably didn't run automatically for you. Take a look at them and
manually execute the needed sql.
--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/1179#comment:5>
GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/>
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.
#1179: StringIndexOutOfBounds exception in LuceneQueryBuilder#addLocaleTerm when
requestedLanguageOnly value is 'false'
---------------------+------------------------------------------------------
Reporter: simonp | Owner: geonetwork-devel@…
Type: defect | Status: new
Priority: blocker | Milestone: v2.9.0
Component: General | Version: v2.8.0RC2
Keywords: |
---------------------+------------------------------------------------------
Comment(by bjohare):
Thanks Jesse will try that.
--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/1179#comment:6>
GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/>
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.
#1179: StringIndexOutOfBounds exception in LuceneQueryBuilder#addLocaleTerm when
requestedLanguageOnly value is 'false'
----------------------+-----------------------------------------------------
Reporter: simonp | Owner: geonetwork-devel@…
Type: defect | Status: closed
Priority: blocker | Milestone: v2.9.0
Component: General | Version: v2.8.0RC2
Resolution: fixed | Keywords:
----------------------+-----------------------------------------------------
Changes (by simonp):
* status: new => closed
* resolution: => fixed
--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/1179#comment:7>
GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/>
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.