Issue Details (XML | Word | Printable)

Key: GLASSFISH-15992
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Anissa Lam
Reporter: lidiam
Votes: 0
Watchers: 0

If you were logged in you would be able to see more operations.

Properties: table wiped out on sort, error displayed afterwards

Created: 15/Feb/11 11:28 AM   Updated: 24/Jun/11 04:23 PM   Resolved: 20/Feb/11 10:18 AM
Component/s: admin_gui
Affects Version/s: 3.1_b41
Fix Version/s: 3.1.1_b01

Time Tracking:
Not Specified

File Attachments: 1. JPEG File noproperties-clickinstance.JPG (160 kB) 15/Feb/11 11:28 AM - lidiam
2. JPEG File noproperties.JPG (140 kB) 15/Feb/11 11:28 AM - lidiam
3. Text File server.log (9 kB) 15/Feb/11 11:28 AM - lidiam


promoted build b43

Tags: 3_1-exclude 3_1_1-verified
Participants: Anissa Lam and lidiam

 Description  « Hide

Steps to reproduce:

1. Click on server (Admin Server), Properties tab.
2. Click Add Property and fill out the blanks. Before or after hitting save (makes no difference), click on Override Value link, that sorts the table. Issue 1: At this point all the properties from the table disappear.
3. Click on Instance Properties tab - issue 2: the following error is displayed:

An error has occurred
REST Request 'http://localhost:4848/management/domain/servers/server//system-properties' failed with response code '404'.

Clicking anywhere in nodes tree clears out the issue.

This problem exists with cluster system properties table as well. Without adding any properties, if I click Override Value link, the table content disappears and the "wait, long running process" message shows and never goes away (have to reload the url). In case of standalone instance, table content disappears but the "wait" message does not come on.

This problem is present for both Current Value and Override Value sorting links on the properties tabs. Once the error occurs clicking on any tab for the same cluster or instance produces the 404 error.

In case of the sorting link Instance Variable Name on the standalone instance system properties tab, once I clicked that the "wait" message appeared and never went away.

lidiam added a comment - 17/Feb/11 12:55 PM

Removed the exclude tag, so that the issue can be evaluated.

Anissa Lam added a comment - 17/Feb/11 04:10 PM

This doesn't classify as show stopper. Add 3_1-exclude and Jason can fix this for 3.2.

Anissa Lam added a comment - 20/Feb/11 10:18 AM

The value specified to sort the column is wrong, thus causing the issue.
Also notice that the value specified in the currentValue column for sorting is wrong too, fixed it as well.
Fix checked into the trunk.

Project: glassfish
Repository: svn
Revision: 45189
Author: anilam
Date: 2011-02-20 18:16:12 UTC

Log Message:
GLASSFISH-15992 Fix the value that should be used to sort the currentValue and overrideValue column in the Systems Properties table.


Modified Paths:

Index: trunk/v3/admingui/common/src/main/resources/configuration/systemProperties.jsf
— trunk/v3/admingui/common/src/main/resources/configuration/systemProperties.jsf (revision 45188)
+++ trunk/v3/admingui/common/src/main/resources/configuration/systemProperties.jsf (revision 45189)
@@ -2,7 +2,7 @@


  • Copyright (c) 2010 Oracle and/or its affiliates. All rights reserved.
    + Copyright (c) 2010-2011 Oracle and/or its affiliates. All rights reserved.

The contents of this file are subject to the terms of either the GNU
General Public License Version 2 only ("GPL") or the Common Development
@@ -114,12 +114,12 @@
<sun:tableColumn headerText="$resource{i18n.systemProps.colInstanceName}" sort="name" rowHeader="$boolean{false}" id="col2">
<sun:textField columns="$int{40}" maxLength="#{sessionScope.fieldLengths['maxLength.common.PropertyName']}" id="col1St" value="#{}" />
- <sun:tableColumn id="currentValueCol" headerText="$resource{i18n.systemProps.ColCurrentValue}" sort="value" rowHeader="$boolean{false}" id="col3">
+ <sun:tableColumn id="currentValueCol" headerText="$resource{i18n.systemProps.ColCurrentValue}" sort="currentValue" rowHeader="$boolean{false}" id="col3">
<h:outputText id="currentVal" value="#{td.value.currentValue}" />
- <sun:tableColumn id="overrideValCol" headerText="$resource{i18n.inst.ColOverrideValue}" sort="value" rowHeader="$boolean{false}">
+ <sun:tableColumn id="overrideValCol" headerText="$resource{i18n.inst.ColOverrideValue}" sort="overrideValue" rowHeader="$boolean{false}">
<sun:textField id="overrideVal" columns="$int{40}" maxLength="#{sessionScope.fieldLengths['maxLength.common.PropertyValue']}" value="#{td.value.overrideValue}"/>

lidiam added a comment - 24/Jun/11 04:23 PM

Verified in build b08.