Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 883918

Summary: Errai is not compatible with GWT 2.5.0
Product: [Retired] JBoss Enterprise WFK Platform 2 Reporter: Karel Piwko <kpiwko>
Component: Errai, Spring, GWTAssignee: Pavel SLegr <pslegr>
Status: CLOSED CURRENTRELEASE QA Contact: Matous Jobanek <mjobanek>
Severity: high Docs Contact:
Priority: unspecified    
Version: 2.1.0CC: bsutter, csadilek, djorm, irooskov, jfuerth, maschmid, mnovotny, ppenicka, pslegr, rruss, trepel
Target Milestone: ER1Flags: mnovotny: needinfo-
Target Release: 2.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Previously, compiling Errai with Google Web Toolkit 2.5.0 failed with errors related to the UIBinder class. As a workaround for the issue, Google Web Toolkit 2.4.0 could be used, but that exposed a cross-site scripting (XSS) flaw reported as CVE-2012-5920. In this release, Errai can be successfully compiled with Google Web Toolkit 2.5.1, which is no longer vulnerable to the mentioned cross-site scripting flaw.
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-07-16 11:18:57 UTC 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 Karel Piwko 2012-12-05 15:12:53 UTC
Errai is not API compatible with GWT 2.5.0.

Following happens when you try to rebuild Errai with GWT 2.5.0:


Rebuilding Errai-2.1.0.Final with GWT-2.5.0 showed up an incompatibility with 
com/google/gwt/gwt-user/2.5.0/gwt-user-2.5.0.jar vs. com/google/gwt/gwt-user/2.4.0/gwt-user-2.4.0.jar in com/google/gwt/uibinder/attributeparsers/* api. The classes which were in 2.4.0 gwt are not any more present in gwt 2.5.0 and subsequently errai-uibinder component (particularly: /errai/errai-uibinder/src/main/java/com/google/gwt/uibinder/rebind/UiBinderWriter.java) is not compilable any more with gwt-2.5.0

Stack
----------

...

[ERROR] /home/pslegr/wfk-development/GIT-REPOS/WFK2.1-PROD/errai/errai-uibinder/src/main/java/com/google/gwt/uibinder/rebind/UiBinderWriter.java:[28,47] cannot find symbol
[ERROR] symbol  : class BundleAttributeParser
[ERROR] location: package com.google.gwt.uibinder.attributeparsers
[ERROR] /home/pslegr/wfk-development/GIT-REPOS/WFK2.1-PROD/errai/errai-uibinder/src/main/java/com/google/gwt/uibinder/rebind/UiBinderWriter.java:[29,47] cannot find symbol
[ERROR] symbol  : class BundleAttributeParsers
[ERROR] location: package com.google.gwt.uibinder.attributeparsers
[ERROR] /home/pslegr/wfk-development/GIT-REPOS/WFK2.1-PROD/errai/errai-uibinder/src/main/java/com/google/gwt/uibinder/rebind/UiBinderWriter.java:[38,43] cannot find symbol
[ERROR] symbol  : class HtmlTemplates
[ERROR] location: package com.google.gwt.uibinder.rebind.model
[ERROR] /home/pslegr/wfk-development/GIT-REPOS/WFK2.1-PROD/errai/errai-uibinder/src/main/java/com/google/gwt/uibinder/rebind/UiBinderWriter.java:[181,16] cannot find symbol
[ERROR] symbol  : class HtmlTemplates

...

Given that fact, using GWT 2.5.0 with Errai is not recommended.

Comment 6 Isaac Rooskov 2012-12-06 11:00:22 UTC
Doc text updated for wfk 2.1 release

Comment 7 JBoss JIRA Server 2012-12-07 06:43:37 UTC
Pavel Slegr <pslegr> made a comment on jira ERRAI-428

I've fixed this issue with https://github.com/errai/errai/commit/13ebd4d7aa5d671bc88f906fae8a6029e27d0443

Comment 8 JBoss JIRA Server 2012-12-07 06:44:00 UTC
Pavel Slegr <pslegr> updated the status of jira ERRAI-428 to Resolved

Comment 11 Marek Novotny 2013-01-10 12:56:15 UTC
This will be fixed/upgraded to GWT 2.5 in WFK 2.3.

Comment 12 Pavel SLegr 2013-01-14 11:16:44 UTC
moving to MODIFIED state and leaving GWT dependency 2.4 fow wfk 2.2

Comment 15 Marek Novotny 2013-06-03 15:55:57 UTC
we already changed to use GWT 2.5.1, so I will let Pavel to change the status when he thinks this is OK

Comment 16 Pavel SLegr 2013-06-03 17:35:20 UTC
updated into 2.5.1

Comment 18 Matous Jobanek 2013-06-13 14:34:54 UTC
Verified in WFK 2.3.0.ER1 with GWT 2.5.1 and Errai 2.3.1

Comment 21 Petr Penicka 2013-07-04 09:59:48 UTC
Edited doc text for wfk 2.3 release notes.

Comment 22 JBoss JIRA Server 2013-11-06 20:56:37 UTC
Christian Sadilek <csadilek> updated the status of jira ERRAI-428 to Closed

Comment 23 JBoss JIRA Server 2013-11-14 15:08:05 UTC
Matous Jobanek <mjobanek> updated the status of jira ERRAI-428 to Reopened

Comment 24 JBoss JIRA Server 2013-11-14 15:24:38 UTC
Matous Jobanek <mjobanek> updated the status of jira ERRAI-428 to Closed