Bug 1058318
Summary: | Unable to create 2 alert defs in a row - gwt serialization error | ||
---|---|---|---|
Product: | [Other] RHQ Project | Reporter: | Lukas Krejci <lkrejci> |
Component: | Core UI | Assignee: | Nobody <nobody> |
Status: | ON_QA --- | QA Contact: | |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 4.10 | CC: | hrupp, jshaughn, mazz, yak |
Target Milestone: | --- | ||
Target Release: | RHQ 4.13 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | Type: | Bug | |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Lukas Krejci
2014-01-27 14:27:31 UTC
This bug is caused by an issue in GWT 2.5.0 (http://code.google.com/p/google-web-toolkit/issues/detail?id=7628). It is fixed in 2.6.0-rc3 and higher. for the record, this also manifests itself in other ways. for example: 1) execute an operation on a resource (say view the process list on a platform). It works. 2) Go create an alert definition on the resource. 3) Now go execute the operation again. You get the error reported in this BZ *** Bug 1099621 has been marked as a duplicate of this bug. *** It seems to happen anytime we send a Resource to the server with the new alertDef attached. this guy fixes the issue in GWT https://gwt.googlesource.com/gwt/+/4631b356ede41148b726f6014803a249dbc8df4b Now I need to figure out how to use own ServerSerializationStreamReader with his change. branch: master link: https://github.com/rhq-project/rhq/commit/522860a34 time: 2014-07-16 19:53:12 +0200 commit: 522860a34ba71f3164cea32d03daf1fa1ea93f32 author: Jirka Kremser - jkremser message: [BZ 1058318] - Unable to create 2 alert defs in a row - gwt serialization error - Simplifying the objects that are sent over the wire not to cause troubles with the GWT2.5.0 serialization bug. Fixed for creating/updating alerts, invoking operation or group and resource. Also for alert templates. It might be possible that I miss some scenario, because it is hard to find in code when it will be failing. Upgrading GWT to 2.6 would be safer. Just a note: it is not possible to use own implementation of AbstractSerializationStreamReader without compiling the GWT source code. |