Bug 535216 (RHQ-1936)

Summary: when you upload new plugins, the UI page doesn't show the refreshed h:messages
Product: [Other] RHQ Project Reporter: John Mazzitelli <mazz>
Component: Core UIAssignee: RHQ Project Maintainer <rhq-maint>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: low    
Version: unspecifiedCC: ian.springer
Target Milestone: ---Keywords: SubBug
Target Release: ---   
Hardware: All   
OS: All   
URL: http://jira.rhq-project.org/browse/RHQ-1936
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-02-11 22:09:44 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: 565628, 585306    

Description John Mazzitelli 2009-04-06 15:37:00 UTC
go to the plugins UI page (Administration>Plugins).

Upload a plugin (any plugin, even one that already exists).

The <h:messages> component at the top should re-render to show you the messages to tell you what was uploaded.

The messages never show up.

Why doesn't this work?

plugin-list.xhtml:

<h:messages id="pluginsmessages"
...
        <rich:fileUpload
            ...
            <a4j:support event="onuploadcomplete" reRender="pluginsmessages" />

InstalledPluginsUIBean.java:

    public void fileUploadListener(UploadEvent event) {
    ...
            FacesContextUtility.addMessage(FacesMessage.SEVERITY_INFO, "New agent plugin uploaded: " + agentPlugin);
    ...

Comment 1 John Mazzitelli 2009-04-06 15:38:16 UTC
I tried using a4j:region and a4j:output to no effect. Clearly, I have no idea what I'm doing.

Comment 2 John Mazzitelli 2009-04-06 19:02:58 UTC
Asked about this on the RichFaces forum:

http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223787#4223787

Comment 3 Red Hat Bugzilla 2009-11-10 20:49:50 UTC
This bug was previously known as http://jira.rhq-project.org/browse/RHQ-1936


Comment 4 wes hayutin 2010-02-16 16:52:29 UTC
Temporarily adding the keyword "SubBug" so we can be sure we have accounted for all the bugs.

keyword:
new = Tracking + FutureFeature + SubBug

Comment 5 wes hayutin 2010-02-16 16:58:15 UTC
making sure we're not missing any bugs in rhq_triage

Comment 6 Ian Springer 2011-02-11 22:09:44 UTC
This is JSF - won't fix.