Bug 704354
Summary: | IE only, Operation Schedule New button throws Exception | ||
---|---|---|---|
Product: | [Other] RHQ Project | Reporter: | Mike Foley <mfoley> |
Component: | Core UI | Assignee: | Jay Shaughnessy <jshaughn> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Mike Foley <mfoley> |
Severity: | high | Docs Contact: | |
Priority: | urgent | ||
Version: | 4.0.1 | CC: | hrupp, jshaughn, skondkar |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Fixed In Version: | 4.0.1 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-09-02 07:20:53 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: | |||
Bug Blocks: | 703268 |
Description
Mike Foley
2011-05-12 21:45:18 UTC
This sounds remotely familiar from a very distant past. Basically the issue at that time was that the input box did for whatever reason not return only a number, but some extra chars (spaces). groovy:000> Integer.valueOf(" 1234") ERROR java.lang.NumberFormatException: For input string: " 1234" at java_lang_Integer$valueOf.call (Unknown Source) at groovysh_evaluate.run (groovysh_evaluate:2) ... groovy:000> Integer.valueOf("1234") ===> 1234 So it may be needed to first trim() the string obtained: groovy:000> Integer.valueOf(" 1234 ".trim()) ===> 1234 The trace above does not match the issue I'm seeing in this area. The above does not seem to relate to a New operation schedule as it seems to do with AlertDataSource (albeit the "OPERATION" value is related to operations in some way, but I think the error may be coming out of an alerts fetch). So first I'll work on the New button problem I'm seeing. And that seems to be related to some raw html being inserted via an HTMLFlow, to add spacing and horizontal rules to the schedule form: HTMLFlow hr = new HTMLFlow("<p/><hr/><p/>"); It's amazing that SmartGWT/IE would have trouble with this but that seems to be the case. Looking for a different way to layout the page... As for the trace in the description. This looks like the wrong trace was pasted into the BZ. This problem should have already been fixed via Bug 701774. as part of verification, please also retest scheduling an operation from left-nav tree ... using right-click context menu. release-4.0.0 commits (one for release, one for group) cbcb2102fa22f5d24b549ee54d1357e7c5cac1ad d352fb93849626b4c49df7836456d17031af3566 master commits 3c4939917519960b854daec60c269379a1e58b66 3625629ce609ebd6b5c227f8da4a40602d4dabe7 Verified on rhq401 build#28 (Version: 4.0.1-SNAPSHOT Build Number: d352fb9) Verified on IE version 8.0.6001.19019. Navigated to RHQ-Agent->Operation tab. Click on New button. No exception is observed. Scheduled operation successfully. Also scheduled operation via the right click menu. Marking as verified. Bulk closing of issues that were VERIFIED, had no target release and where the status changed more than a year ago. |