Bug 696169 - The GUI shows version "none" for all resources
Summary: The GUI shows version "none" for all resources
Alias: None
Product: RHQ Project
Classification: Other
Component: Core UI
Version: 4.0.0
Hardware: Unspecified
OS: Unspecified
high vote
Target Milestone: ---
: ---
Assignee: Ian Springer
QA Contact: Corey Welton
Depends On:
Blocks: rhq4
TreeView+ depends on / blocked
Reported: 2011-04-13 13:21 UTC by Lukas Krejci
Modified: 2013-08-06 00:39 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2011-05-24 01:08:24 UTC

Attachments (Terms of Use)

Description Lukas Krejci 2011-04-13 13:21:47 UTC
Description of problem:

On the resource details page, the version field always shows "none" regardless of what actually present in the database.

How reproducible:

Steps to Reproduce:
1. inventory a linux platform
2. look at the resource details, exand the triangle icon to see the traits
Actual results:
version is "none"

Expected results:
the platform plugin reports the version correctly and it is stored correctly in the database. The version should therefore be shown in the GUI.

Additional info:

Comment 1 Ian Springer 2011-04-14 21:20:08 UTC
[master 1bbe263] fixes this. 

There was a similar issue with the Location field, which is also fixed by the same commit.

Comment 2 Ian Springer 2011-04-18 18:48:41 UTC
Note, there was a related issue where the Name, Location, and Description fields in the summary area would render as " " if their values were null. I think Jay's change to SimpleEditableFormItem as part of [master 1b76728] should have fixed that issue.

Comment 3 Mike Foley 2011-04-18 19:40:57 UTC
i am not seeing this fix in the 4/18 build.  For a Linux platform resource, I see:

version=none  ...unexpected.
location=    ... unexpected.
description field ... Linux Operating System.

Discussed with Ian.  Can you take one more look at this Ian?  The version displaying as "none" was unexpected.

Comment 4 Ian Springer 2011-04-21 20:48:12 UTC
Here's what I see for my platform:

Version: Linux
Description: Linux Operating System

Mike, can you please give it another try with a recent build?

Comment 5 Mike Foley 2011-04-21 20:58:47 UTC
Version :	

Verified on RHQ 4.0 CR1

Comment 6 Corey Welton 2011-05-24 01:08:24 UTC
Bookkeeping - closing bug - fixed in recent release.

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