Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #12922 (new)

Opened 6 years ago

Last modified 5 years ago

Bug: PG ERROR printed on invalid UTF-8

Reported by: jamoore Owned by:
Priority: minor Milestone: Unscheduled
Component: ORM Version: 5.1.2
Keywords: n.a. Cc: erozbicki, mtbcarroll
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: n.a.


This error from postgresql appears as an ERROR in Blitz, though it's mostly a user entry error (i.e. ValidationException?). Would be good if we could detect that, though it may require special Spring mapping:

ERROR: nightshade Blitz-0:
2015-05-14 12:12:53,454 ERROR [ o.h.e.def.AbstractFlushingEventListener] (Server-497) Could not synchronize database state with session
org.hibernate.exception.DataException: could not insert: [ome.model.annotations.TagAnnotation]
    at org.hibernate.exception.SQLStateConverter.convert( ~[hibernate-core.jar:na]
    at org.hibernate.exception.JDBCExceptionHelper.convert( ~[hibernate-core.jar:na]
    at org.hibernate.persister.entity.AbstractEntityPersister.insert( ~[hibernate-core.jar:na]
    at org.hibernate.persister.entity.AbstractEntityPersister.insert( ~[hibernate-core.jar:na]
    at org.hibernate.action.EntityInsertAction.execute( ~[hibernate-core.jar:na]
    at org.hibernate.engine.ActionQueue.execute( ~[hibernate-core.jar:na]
    at org.hibernate.engine.ActionQueue.executeActions( ~[hibernate-core.jar:na]
    at org.hibernate.engine.Act...


Change History (3)

comment:1 Changed 6 years ago by jamoore

  • Milestone changed from 5.1.4 to OMERO-5.1.4

Splitting 5.1.4 due to milestone decoupling

comment:2 Changed 6 years ago by mtbcarroll

  • Cc mtbcarroll added; mtbc removed

comment:3 Changed 5 years ago by jamoore

  • Milestone changed from 5.x to Unscheduled
Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.78224 sec.)

We're Hiring!