Bug 883918 - Errai is not compatible with GWT 2.5.0
Summary: Errai is not compatible with GWT 2.5.0
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise WFK Platform 2
Classification: Retired
Component: Errai, Spring, GWT
Version: 2.1.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ER1
: 2.3.0
Assignee: Pavel SLegr
QA Contact: Matous Jobanek
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-12-05 15:12 UTC by Karel Piwko
Modified: 2013-11-14 15:24 UTC (History)
11 users (show)

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.
Clone Of:
Environment:
Last Closed: 2013-07-16 11:18:57 UTC
Type: Bug
Embargoed:
mnovotny: needinfo-


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker ERRAI-428 0 Critical Closed errai-uibinder is not compatible with GWT-2.5.0 and compilation fails 2013-11-14 15:24:38 UTC

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


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