Bug 535477 (RHQ-2168)

Summary: Info hover for resources with unknown status displays non-renderable/odd characters for Availability.
Product: [Other] RHQ Project Reporter: Corey Welton <cwelton>
Component: Core UIAssignee: RHQ Project Maintainer <rhq-maint>
Status: CLOSED WONTFIX QA Contact: Corey Welton <cwelton>
Severity: medium Docs Contact:
Priority: low    
Version: 1.2CC: mazz
Target Milestone: ---Keywords: SubBug
Target Release: ---   
Hardware: All   
OS: All   
URL: http://jira.rhq-project.org/browse/RHQ-2168
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-02-17 17:00:37 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    
Attachments:
Description Flags
RHQ-2168.png none

Description Corey Welton 2009-06-22 20:03:00 UTC
Repro:

1. Register a system in a manner that causes RHQ to have an unknown ("grey") status icon.
2. In the summary tab for that resource, hover over the grey "?" icon.
3.  View the "Availability" line.

Current results:

Resource has been since: 12/31/69, 7:00:00 PM, EST
Availability: �
Down for:
Up for:
Failures: 0
MTBF: Mean Time Between Failures over the known resource lifetime.
MTTR: 

Expected results:

Serendipitously enough, the icon that appears (at least on FF3/linux) is a question mark within a diamond.  However, I don't suspect that was intent.  Generally I think that tends to show up for non-renderable characters.

Viewing the page source, the character is "&#65533;" 

According to http://www.w3.org/TR/html4/sgml/entities.html

"Character 65533 (FFFD hexadecimal) is the last valid character in UCS-2. 65534 (FFFE hexadecimal) is unassigned and reserved as the byte-swapped version of ZERO WIDTH NON-BREAKING SPACE for byte-order detection purposes. 65535 (FFFF hexadecimal) is unassigned."

So I am guessing some sort of null value is showing up here, inadvertently.




Comment 1 Corey Welton 2009-06-22 20:07:15 UTC
See attached screenshot

Comment 2 Red Hat Bugzilla 2009-11-10 20:59:09 UTC
This bug was previously known as http://jira.rhq-project.org/browse/RHQ-2168
Imported an attachment (id=368750)


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

keyword:
new = Tracking + FutureFeature + SubBug

Comment 4 wes hayutin 2010-02-16 17:02:34 UTC
making sure we're not missing any bugs in rhq_triage

Comment 5 John Mazzitelli 2011-02-17 17:00:37 UTC
this tooltip hover no longer exists in gwt... this informatoin is now found in the monitoring>availabliity subtab