bsed / ala

Automatically exported from code.google.com/p/ala
0 stars 0 forks source link

Saving species update record in List fails #453

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Editing the scientific name of a species in a list failed with the attached 
error. I repeated the error 4 times. Error occurs when record is Saved. In some 
cases, the list seems updated.

I'm attempting to create a definitive list of Migratory species under the EPBC 
act and having the usual NSL match issues even though the supplied names can 
include current and older scientific names.

Original issue reported on code.google.com by leebel...@gmail.com on 15 Dec 2013 at 11:37

GoogleCodeExporter commented 9 years ago
with image

Original comment by leebel...@gmail.com on 15 Dec 2013 at 11:38

Attachments:

GoogleCodeExporter commented 9 years ago
Assigned to Nick as he has been making some changes in the list tool lately.

Original comment by natasha....@csiro.au on 15 Dec 2013 at 11:41

GoogleCodeExporter commented 9 years ago
Error message in tomcat log
2013-12-16 10:39:35,955 ERROR [GrailsExceptionResolver] AssertionFailure 
occurred when processing request: [POST] /editor/editR
ecord
null id in au.org.ala.specieslist.SpeciesListKVP entry (don't flush the Session 
after an exception occurs). Stacktrace follows:
org.hibernate.AssertionFailure: null id in 
au.org.ala.specieslist.SpeciesListKVP entry (don't flush the Session after an 
except
ion occurs)
        at au.org.ala.specieslist.EditorController.editRecord(EditorController.groovy:142)
        at grails.plugin.cache.web.filter.PageFragmentCachingFilter.doFilter(PageFragmentCachingFilter.java:195)
        at grails.plugin.cache.web.filter.AbstractFilter.doFilter(AbstractFilter.java:63)
        at au.org.ala.cas.client.AlaHttpServletRequestWrapperFilter.doFilter(AlaHttpServletRequestWrapperFilter.java:65)
        at au.org.ala.cas.client.UriFilter.doFilter(UriFilter.java:180)
        at org.jasig.cas.client.authentication.AuthenticationFilter.doFilter(AuthenticationFilter.java:93)
        at au.org.ala.cas.client.UriFilter.doFilter(UriFilter.java:180)
        at org.jasig.cas.client.validation.AbstractTicketValidationFilter.doFilter(AbstractTicketValidationFilter.java:167)
        at au.org.ala.cas.client.UriFilter.doFilter(UriFilter.java:180)
        at org.jasig.cas.client.session.SingleSignOutFilter.doFilter(SingleSignOutFilter.java:110)

Original comment by natasha....@csiro.au on 15 Dec 2013 at 11:43

GoogleCodeExporter commented 9 years ago
Fixed & deployed.

Could you please test this Lee?

Original comment by nickdos on 16 Dec 2013 at 3:25

GoogleCodeExporter commented 9 years ago
Agreed: Tested OK so far.

Original comment by leebel...@gmail.com on 16 Dec 2013 at 9:41