Bug 694221

Summary: upgrade to more recent release of GWT and SmartGWT
Product: [Other] RHQ Project Reporter: Ian Springer <ian.springer>
Component: Core UIAssignee: John Sanda <jsanda>
Status: CLOSED CURRENTRELEASE QA Contact: Mike Foley <mfoley>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.2CC: ccrouch, hrupp, mazz
Target Milestone: ---Keywords: FutureFeature, Improvement
Target Release: RHQ 4.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-09-01 10:18:04 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 771406, 771417, 772069, 772259, 772681, 773662, 782453, 787239    
Bug Blocks: 760116, 769382, 782579    
Attachments:
Description Flags
upgrades GWT from 2.0.4 to 2.2.0 (also upgrades the maven gwt plugin and gwt-log)
none
Image of test failures from testrun
none
image of specific test failure none

Description Ian Springer 2011-04-06 18:27:56 UTC
We're still on GWT 2.0.4, which is getting outdated. Besides all of the bug fixes that have gone in since 2.0.4, there are other features we can leverage such as the safe HTML APIs and the logging API. 

I've tested the upgrade out locally and did not notice any issues while smoke testing the GUI. A patch that does the upgrade is attached.

Comment 1 Ian Springer 2011-04-06 18:29:16 UTC
Note, I'd like to do this right after we release RHQ 4.0, so we have plenty of time to test it before JON 3.0.

Comment 2 Ian Springer 2011-04-06 18:30:44 UTC
Created attachment 490361 [details]
upgrades GWT from 2.0.4 to 2.2.0 (also upgrades the maven gwt plugin and gwt-log)

Comment 3 Ian Springer 2011-05-27 17:18:29 UTC
Note the following from the SmartGWT FAQ:

"Users on Smart GWT 2.4 and older should make sure they have the GWT 2.3 jars before the Smart GWT jars in their classpath. This is not required for Smart GWT 2.5 and later."

It's not possible to specify the order WEB-INF/lib jars are loaded, so we should probably just move up to GWT 2.2, until we have upgraded to SmartGWT 2.5 (not yet released as of today).

Comment 4 Ian Springer 2011-08-08 18:43:06 UTC
SmartGWT 2.5 has been released, so we can now upgrade to GWT 2.3.0 and SmartGWT 2.5.

Comment 5 Charles Crouch 2011-09-30 17:51:32 UTC
FutureFeature Improvement

Comment 6 Charles Crouch 2011-09-30 19:04:03 UTC
removing bad depends

Comment 7 John Mazzitelli 2011-10-25 19:26:55 UTC
when we upgrade, we can then add the <strict>true</strict> (-strict) option to the GWT compiler options in the coregui pom.xml.

This will force the GWT compiler to fail whenever a class cannot be compiled (today, it just spits out an error message but the compile continues and will still successfully complete - we want the build to fail when this happens).

Comment 9 Charles Crouch 2011-12-16 23:35:29 UTC
Both gwt 2.4 and smartgwt 3.0 are out now, so updating the bug title

Comment 10 Charles Crouch 2011-12-16 23:40:30 UTC
As part of this upgrade we should enable and test out the 508 accessibility features which smartgwt supports:

http://www.smartclient.com/smartgwtee/javadoc/com/smartgwt/client/docs/Accessibility.html

Comment 11 John Sanda 2012-01-03 15:52:41 UTC
The upgrade work is being done in the feature/gwt-upgrade branch. Any upgrade related bugs should block this bug.

Comment 12 Mike Foley 2012-01-12 14:10:31 UTC
adding attachments of automated test runs and test failures on this branch ....

Comment 13 Mike Foley 2012-01-12 14:11:28 UTC
Created attachment 552408 [details]
Image of test failures from testrun

Comment 14 Mike Foley 2012-01-12 14:12:07 UTC
Created attachment 552409 [details]
image of specific test failure

Comment 15 Mike Foley 2012-01-12 14:31:47 UTC
documenting that there were 47 test failures from the UI Automation testrun on this branch.

Comment 16 Charles Crouch 2012-05-02 22:18:53 UTC
Pushing this to ON_QA since the upgrade is down. Any issues not yet addressed 
have been made to block the general UXD tracking issue, bug 735475.

Comment 18 Heiko W. Rupp 2013-09-01 10:18:04 UTC
Bulk closing of items that are on_qa and in old RHQ releases, which are out for a long time and where the issue has not been re-opened since.