Bug 1222710 - Editor option save fails due to ClassCastException
Summary: Editor option save fails due to ClassCastException
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Zanata
Classification: Retired
Component: Component-UI
Version: 3.6
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 3.7
Assignee: Alex Eng
QA Contact: Damian Jansen
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-05-18 21:54 UTC by David Mason
Modified: 2015-07-22 02:19 UTC (History)
3 users (show)

(edit)
Clone Of:
(edit)
Last Closed: 2015-07-22 02:19:56 UTC


Attachments (Terms of Use)
Stack trace on server when a user tries to save editor options. (15.48 KB, text/plain)
2015-05-18 21:54 UTC, David Mason
no flags Details

Description David Mason 2015-05-18 21:54:43 UTC
Created attachment 1026885 [details]
Stack trace on server when a user tries to save editor options.

Description of problem:
When save button is clicked in editor options panel, a warning message is shown with "Could not save user options". The stack trace on the server shows a ClassCastException trying to cast from

    org.hibernate.action.internal.EntityIdentityInsertAction
    org.hibernate.action.internal.EntityInsertAction


Version-Release number of selected component (if applicable):


How reproducible:
Easy, always

Steps to Reproduce:
1. Sign in and open the editor for any document
2. Expand the user options panel
3. Click "Save" at the bottom of the user options panel

Actual results:
Message shows "Could not save user options"


Expected results:
User options save successfully and can be restored by clicking "Load"

Additional info:
Stack trace from the server is attached.

Comment 1 Alex Eng 2015-05-18 22:55:57 UTC
PR: https://github.com/zanata/zanata-server/pull/821

Comment 2 Damian Jansen 2015-05-20 04:59:17 UTC
Verified at cac387508126917ba1af248332369679fc462d45


Note You need to log in before you can comment on or make changes to this bug.