Bug 802528 - bundle create destination wizard spits out error when searching for group name
Summary: bundle create destination wizard spits out error when searching for group name
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RHQ Project
Classification: Other
Component: Core UI
Version: 4.3
Hardware: Unspecified
OS: Unspecified
high
low
Target Milestone: ---
: JON 3.1.0
Assignee: Mike Thompson
QA Contact: Mike Foley
URL:
Whiteboard:
Depends On:
Blocks: rhq-uxd jon310-sprint11, rhq44-sprint11
TreeView+ depends on / blocked
 
Reported: 2012-03-12 18:25 UTC by John Mazzitelli
Modified: 2013-09-03 15:09 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-09-03 15:09:10 UTC
Embargoed:


Attachments (Terms of Use)

Description John Mazzitelli 2012-03-12 18:25:39 UTC
1. Upload a new bundle
2. Select the bundle in the main bundles list and click "Deploy"
3. In the Resource Group field, type a single letter

Notice you get a red exception in the message center, though I think this still works. What should happen is typing in this field does a search - if you type "p", the drop down list of groups will only show those groups that have a "p" in them. But why are we getting a red error message?

I won't post the stack trace, because it's useless (its obfuscated).

Comment 1 John Mazzitelli 2012-04-16 21:03:49 UTC
bug #804131 also shows the same issue, only in a different place. looks like it might be a smartgwt rendering bug when rendering LinkItems.

Comment 2 John Mazzitelli 2012-04-16 21:04:34 UTC
(ignore that last comment - wrong BZ)

Comment 3 John Mazzitelli 2012-04-17 16:08:59 UTC
git commit to master c954202
this only partially fixes this. I think this is another fallout to the smartgwt upgrade, because this worked before.  This commit fixes the problem where the partial name entered in the combox box is a string but we were trying to convert it to an int. Now that that is circumvented, there is a second problem - somewhere deep we are getting what appears to be a NPE. So the replication procedures are the same, however, the red error you see is now a global exception. Stack is as follows:

com.google.gwt.core.client.JavaScriptException:(null): null
--- STACK TRACE FOLLOWS ---
(null): null
   at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:248)
   at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:136)
   at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:561)
   at com.google.gwt.dev.shell.ModuleSpace.invokeNativeVoid(ModuleSpace.java:289)
   at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeVoid(JavaScriptHost.java:107)
   at com.smartgwt.client.data.DataSource.processResponse(DataSource.java)
   at org.rhq.enterprise.gui.coregui.client.util.RPCDataSource.processResponse(RPCDataSource.java:258)
   at org.rhq.enterprise.gui.coregui.client.inventory.groups.ResourceGroupsDataSource$1.onSuccess(ResourceGroupsDataSource.java:112)
   at org.rhq.enterprise.gui.coregui.client.inventory.groups.ResourceGroupsDataSource$1.onSuccess(ResourceGroupsDataSource.java:1)
   at com.google.gwt.user.client.rpc.impl.RequestCallbackAdapter.onResponseReceived(RequestCallbackAdapter.java:232)
...

Comment 4 Charles Crouch 2012-05-01 23:06:24 UTC
We should investigate this further

Comment 5 Mike Thompson 2012-05-10 21:11:02 UTC
master commit: 9431e3b


Ok, this is a weird one as two days ago I was able to consistently reproduce this bug. Today, however it has magically gone away. I have tried different version of firefox; dev mode vs web mode and am unable to reproduce now. I'm assuming that some other fix on the backend fixed this issue.

So we don't know what commit fixed this; just that it was sometime before 9431e3b.

Comment 6 Charles Crouch 2012-05-11 14:52:18 UTC
Mike
I just want to double check that nothing that went into master but hasn't gone into the release branch addressed this issue. Can you verify that you can't reproduce this issue on the JON3.1 ER3 build which is due out this morning.
Thanks

Comment 7 Mike Thompson 2012-05-17 14:36:20 UTC
I verified that this got into JON 3.1 ER3 on 5/11/2012.

Comment 8 Sunil Kondkar 2012-05-21 09:30:25 UTC
Verified on Version: 3.1.0.ER4 Build Number: 1783b86:2b8d25d

No exception is observed while entering the letters in Resource Group field on the bundle deployment wizard. It displays the resource groups in the dropdown.

Comment 9 Heiko W. Rupp 2013-09-03 15:09:10 UTC
Bulk closing of old issues in VERIFIED state.


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