Task #12922 (new)
Opened 9 years ago
Last modified 8 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. |
Description
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(SQLStateConverter.java:102) ~[hibernate-core.jar:na] at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) ~[hibernate-core.jar:na] at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2438) ~[hibernate-core.jar:na] at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2858) ~[hibernate-core.jar:na] at org.hibernate.action.EntityInsertAction.execute(EntityInsertAction.java:79) ~[hibernate-core.jar:na] at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:267) ~[hibernate-core.jar:na] at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:259) ~[hibernate-core.jar:na] at org.hibernate.engine.Act...
was: https://trello.com/c/AKnKz1ix/516-invalid-byte-sequence-for-encoding-utf8-0x00
Change History (3)
comment:1 Changed 9 years ago by jamoore
- Milestone changed from 5.1.4 to OMERO-5.1.4
comment:2 Changed 9 years ago by mtbcarroll
- Cc mtbcarroll added; mtbc removed
comment:3 Changed 8 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.
Splitting 5.1.4 due to milestone decoupling