[GeoNetwork-devel] [GeoNetwork opensource Developer website] #1091: Empty polygon in GET request, after changing the panel, raises err 500

#1091: Empty polygon in GET request, after changing the panel, raises err 500
-------------------------------------------------------------------+--------
Reporter: vsinceac | Owner: geonetwork-devel@…
     Type: defect | Status: new
Priority: major | Milestone:
Component: General | Version: v2.6.4
Keywords: polygon, bounding box, get, 500 Internal Server Error |
-------------------------------------------------------------------+--------
Hi,

Found this issue on at least two installed geonetwork 2.6.4. I'm not sure
if it is related to some changes in the code for these particular
installations, or well to the core...

In Simple Search, when the user selects a region in WHERE list, the
corresponding bounding box is drawn on the map. The SEARCH button sends a
GET request with the corresponding bounding box. If, after this, the user
changes from Simple Search panel to Administration panel, then just comes
back to the Simple Search (i.e. HOME), the previous region is still
selected in the list, but the bounding box is no more shown on the map.
The SEARCH button sends now a GET request with an empty bounding box,
which raises a "500 Internal Server Error".

Example which raises the bug: (with a geonetwork found on the web):

1) Go to http://congo.iluci.org:8080/geonetwork/srv/en/main.home

2) Log in as admin/admin (sic! :o)

3) Select Cameron in the country list

4) Click "Search" button. You get this:
http://congo.iluci.org:8080/geonetwork/srv/en/main.search.embedded?any=&geometry=POLYGON((%208.5024%2013.0850%2C%2016.2070%2013.0850%2C%2016.2070%201.6542%2C%208.5024%201.6542%2C%208.5024%2013.0850))&relation=overlaps&attrset=geo&region=32&sortBy=relevance&hitsPerPage=10&output=full

5) Click "Administration" in the menu

6) Click "Home" in the menu

7) Click "Search" button. You get this:
"NetworkError: 500 Internal Server Error -
http://congo.iluci.org:8080/geonetwork/srv/en/main.search.embedded?any=&geometry=POLYGON((%20%20%2C%20%20%2C%20%20%2C%20%20%2C%20%20))&relation=overlaps&attrset=geo&region=32&sortBy=relevance&hitsPerPage=10&output=full"

Any idea on where / why it happens?

Many thanks,
Victor

--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/1091&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.

#1091: Empty polygon in GET request, after changing the panel, raises err 500
-------------------------------------------------------------------+--------
Reporter: vsinceac | Owner: geonetwork-devel@…
     Type: defect | Status: new
Priority: major | Milestone: v2.8.0
Component: General | Version: v2.6.4
Keywords: polygon, bounding box, get, 500 Internal Server Error |
-------------------------------------------------------------------+--------
Changes (by ianwallen):

  * milestone: => v2.8.0

--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/1091#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.