Palette corrupts repository if control field value has only spaces.

Palette corrupts repository if control field value has only spaces.

book

Article ID: KB0078793

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix Adapter for Websphere MQ -
Not Applicable -

Description

Description:
Symptoms
========
The user will not be able to use the ae-schema which has blank control
fields. A dough-nut icon appears against the faulty schema.

Impact
======
Data Loss.

Workaround
==========
A work around that will allow you to use spaces for control field
values is to use _WSPACE_ as a substitution character for a white space.

To do this -
1. As soon as you import the CCB data into the repository, navigate to
the AESchema to which the CCB data was imported  into.
2. Under the AESchema where CCB was imported, select the redefines union.
3. Open Extended properties for the union (Resources menu -> Edit Extended Properties).
4. Expand the properties available and select the property with value of the control field.
5. Edit this property (either by double click / press F2 after selecting the property)
and add "_WSPACE_" to the Left hand side (instead of " "). Click OK.
6. Save the repository.

Cause
=====
The control field values are stored by the adapter as properties of the schema.
Designer stores all properties as XML element name-value pairs. Therefore the
XML element for redefines where control field is specified as " " will be
stored as <  &gtREDEFINES</  >. This is invalid XML and therefore designer
cannot read the schema on re-opening the repository file.


Resolution:
==========
This is planned to be fixed in adapter release 5.2.0. The adapter will internally
handle padding the white spaces with _WSPACE_.


Symptoms:

Cause:

Issue/Introduction

Palette corrupts repository if control field value has only spaces.

Environment

Product: TIBCO Adapter for MQSeries Version: 5.1.0 OS: All --------------------