Bug 767629 - [as7] Unable to add datasource - having deployment breaks UI when adding DS
Summary: [as7] Unable to add datasource - having deployment breaks UI when adding DS
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RHQ Project
Classification: Other
Component: Core UI, Operations
Version: 4.3
Hardware: Unspecified
OS: Unspecified
medium
high
Target Milestone: ---
: ---
Assignee: Heiko W. Rupp
QA Contact: Mike Foley
URL:
Whiteboard:
Depends On:
Blocks: as7-plugin
TreeView+ depends on / blocked
 
Reported: 2011-12-14 14:57 UTC by Libor Zoubek
Modified: 2015-11-02 00:42 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-09-02 07:23:23 UTC
Embargoed:


Attachments (Terms of Use)
adding datasource - broken UI (181.39 KB, image/png)
2011-12-14 14:57 UTC, Libor Zoubek
no flags Details

Description Libor Zoubek 2011-12-14 14:57:04 UTC
Created attachment 546754 [details]
adding datasource - broken UI

Version-Release number of selected component (if applicable):
Version: 4.3.0-SNAPSHOT
Build Number: 35fcafb

How reproducible:always


Steps to Reproduce:
1. have as7 standalone (I have eap6 DR8)
2. create deployment child using RHQ UI (hello.war)
3. wait for agent to discover deployment
4. try to add datasource using RHQ UI
  
Actual results: I am not able to fill all required fields when adding datasource, instead of 'Driver Name:' input field there is radio with the name of deployment (hello.war), see screenshot


Expected results: Driver name field is available


Additional info:

Comment 1 Heiko W. Rupp 2011-12-15 15:49:50 UTC
Did you upload a valid driver first?
You need to go to the server, add a driver as deployment and then go to the datasources to create the datasource.

But I agree, that .war files should not show up in that list.

Comment 2 Libor Zoubek 2011-12-15 18:20:08 UTC
No, I don't add driver, I am creating datasource with same driver as the exampleDS, so I use h2 driver

Comment 3 Heiko W. Rupp 2012-01-30 16:20:52 UTC
master 4073cfff18630 filters for .jar files as drivers, so deployed .war and .ear should no longer show.

Question is how to deal with module loaded drivers - h2 is (afaik) supposed to go away in EAP6.
One could allow an additional text field where such a driver name can be entered by hand. The list of deployed jars would then be optional.

Comment 4 Heiko W. Rupp 2012-04-10 20:27:00 UTC
Add text field for naming the driver. If neither selected driver nor text field or both are present, throw an Exception in code.

Comment 5 Heiko W. Rupp 2012-04-10 20:28:05 UTC
We put this on QA, as the original task is done.

and open a new RfE for support of module loaded drivers

Comment 6 Heiko W. Rupp 2013-09-02 07:23:23 UTC
Bulk closing of issues that were VERIFIED, had no target release and where the status changed more than a year ago.


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