Bug 759152 - Plugin install does not tell that a plugins needs a dependency
Summary: Plugin install does not tell that a plugins needs a dependency
Keywords:
Status: NEW
Alias: None
Product: RHQ Project
Classification: Other
Component: Core UI
Version: 4.2
Hardware: Unspecified
OS: Unspecified
low
unspecified vote
Target Milestone: ---
: ---
Assignee: Nobody
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-12-01 14:35 UTC by Heiko W. Rupp
Modified: 2022-04-23 08:28 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:


Attachments (Terms of Use)

Description Heiko W. Rupp 2011-12-01 14:35:29 UTC
Start with a fresh RHQ instance, do not install jboss-as and jboss-cache plugin by default

Go to the admin UI, upload the jboss-cache plugin. UI will show a green bar, but the plugin is not showing up, no matter how often I press scan for updates, Server log shows [1]

Only then when I upload the as5 plugin, the cachev3 plugin shows up in the list.

We should show a message in the UI that the cache plugin is not deployed because of missing dependencies.




[1]
15:33:14,807 INFO  [ProductPluginDeployer] Deploying [1] new or updated agent plugins: [JBossCache3]
15:33:14,807 ERROR [ProductPluginDeployer] Plugin [JBossAS5] is required by plugins [[JBossCache3]] but it does not exist in the dependency graph yet
15:33:14,807 INFO  [PluginDependencyGraph] Reducing dependency graph by not including plugin [JBossCache3]. Cause: java.lang.IllegalArgumentException: Plugin [JBossAS5] is required by plugins [[JBossCache3]] but it does not exist in the dependency graph yet
15:33:14,807 INFO  [ProductPluginDeployer] Plugin metadata updates are complete for [0] plugins: []


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