Opened 12 years ago

Last modified 12 years ago

#1091 new defect

Empty polygon in GET request, after changing the panel, raises err 500

Reported by: vsinceac Owned by: geonetwork-devel@…
Priority: major Milestone: v2.8.0
Component: General Version: v2.6.4
Keywords: polygon, bounding box, get, 500 Internal Server Error Cc:

Description

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

Change History (1)

comment:1 by ianwallen, 12 years ago

Milestone: v2.8.0
Note: See TracTickets for help on using tickets.