[OPENAM-6156] orderedlist uitype in service config breaks when updated Created: 12/Jun/15  Updated: 20/Nov/16  Resolved: 16/Jul/15

Status: Resolved
Project: OpenAM
Component/s: console
Affects Version/s: 12.0.0
Fix Version/s: 12.0.3, 13.0.0

Type: Bug Priority: Major
Reporter: Mark Boyd [X] (Inactive) Assignee: Mark de Reeper
Resolution: Fixed Votes: 0
Labels: EDISON, release-notes
Remaining Estimate: 0h
Time Spent: 5h
Original Estimate: Not Specified

Target Version/s:
Sprint: Sprint 84 - Sustaining
Support Ticket IDs:


Using a uitype of orderedlist prevents any edits to that attribute value in the service's page by deleting all values when any edit is made causing data loss.

1) Use ssoadm.jsp's create-svc feature to register the very simple global config service below.
2) Place a TestServiceLabels.properties file in WEB-INF/classes with the following properties:

test-service=TEST Service

2) sign in to openam as amadmin and go to Configuration tab, Global sub tab
3) in the Global Properties table select the service's new link "TEST Service"
4) In the TEST Service editing page add a value to Environments ordered list box or simply change the order of any item in the list and press the Save button.
5) press the "Back to Service Configuration" button.
6) Again select the "TEST Service" link
7) Note that all values in the Environments list have now disappeared.

Restarting the server makes no difference either.

XML Service Descriptor Content:

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE ServicesConfiguration
PUBLIC "=//iPlanet//Service Management Services (SMS) 1.0 DTD//EN"
<Service name="TestService" version="1.0">
<Global validate="yes" >
<AttributeSchema name="environments"
Having an Organization declaration is required before openAM will allows us to save an instance of the
global SubSchema. Otherwise, it gives an error upon saving saying, "The service does
not have organization schema." By adding an empty Organization no configuration is added to the Services
tab for this service in realms but we can persist instances of spInitiatedRedirectUrl.

Comment by Mark de Reeper [ 16/Jul/15 ]

Fixed in r14650 and r14651

Generated at Sat Oct 24 01:04:15 UTC 2020 using Jira 7.13.12#713012-sha1:6e07c38070d5191bbf7353952ed38f111754533a.