Bug 544078 - server side plugins are not diplaying configuration "description" information
Summary: server side plugins are not diplaying configuration "description" information
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: RHQ Project
Classification: Other
Component: Plugin Container
Version: unspecified
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
: ---
Assignee: John Mazzitelli
QA Contact: wes hayutin
URL: http://10.16.120.173:7080/rhq/admin/p...
Whiteboard:
Depends On:
Blocks: RHQ_SS_Plugin
TreeView+ depends on / blocked
 
Reported: 2009-12-03 21:23 UTC by wes hayutin
Modified: 2009-12-03 22:14 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-12-03 22:14:41 UTC
Embargoed:


Attachments (Terms of Use)
pic on left is JON23, pic on right is rhq server side plugin (379.21 KB, image/png)
2009-12-03 21:23 UTC, wes hayutin
no flags Details

Description wes hayutin 2009-12-03 21:23:05 UTC
Created attachment 375916 [details]
pic on left is JON23, pic on right is rhq server side plugin

Description of problem:

server side plugins are not diplaying configuration "description" information.

Looking at the rhq-serverplugin.xml file there are two tags that have a "description" property.

 <contentSourceType
 and
 <configuration>

  neither description line is displayed in the rhq webui.  I checked regular plugins and they do display the "description" information, however I'm not sure from which tag.


To reproduce:
1. go to Administration > System Configuration > plugins, server side plugins
2. click on any of the plugins, and the description is not displayed

see screenshots for more info

Comment 1 John Mazzitelli 2009-12-03 21:50:40 UTC
The description that you see in the plugins UI is the root plugin description tag.

All server plugins have a root xml element in their descriptor.. something like
<content-plugin> or <generic-plugin>

Those xml elements have an optional attribute called "description".

It is that description that is displayed.

If a plugin doesn't provide it in their xml descriptor, it will be empty in the UI. I see that my sample custom plugin's description shows up so that tells me that its probably that the other plugins just didn't define a description.

So, we need to get all the server-side plugin developers to provide a description attribute in the plugins to fix this issue.

Comment 2 wes hayutin 2009-12-03 22:14:41 UTC
k.. closing..
got this to work w/
<content-plugin name="YumContentSourcePluginTest"
                version="1.3"
                apiVersion="2.0"
                xmlns="urn:xmlns:rhq-serverplugin.content"
                xmlns:c="urn:xmlns:rhq-configuration"
		description="pizza is yummy">


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