Troubleshooting
Problem
Attempts to save an overridden property value using IBM UrbanCode Deploy 6.0.0 does not result in a validation error, even if the property is defined with a pattern (regular expression) that should be violated.
Symptom
The following steps reproduce the problem. The first scenario shows the expected validation of a default property value against the specified pattern:
- Create a component template called MyTemplate
- Open the Configuration > Environment Properties tab
- Add a property called MyProperty with:
- Pattern: \d+
- Default value: 30s

- Attempt to save the property
- Note the error
Alert: Value for property definition named MyProperty is not valid. Check that it matches any pattern defined by the property definition!as in the screenshot:

- Save the property anyway
- Edit the property and change the Default value to
30
- Attempt to save the property. This time it succeeds without showing the
Alert.
The next scenario shows the unexpected lack of validation of the actual property value against the specified pattern:
- Create a Component based on the template MyCompWithTemplate
- Create an Application called MyApplication
- Add the Component to the Application
- Add an Environment called MyEnvironment to the Application
- Select the Environment > Configuration > Environment Properties
- Set the value for the property to:
30s
- Note that there is no
Alertand you are allowed to save the property:

[{"Product":{"code":"SS4GSP","label":"IBM UrbanCode Deploy"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"General Information","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF022","label":"OS X"},{"code":"PF034","label":"Windows Mobile"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"},{"code":"PF035","label":"z\/OS"}],"Version":"6.0","Edition":"","Line of Business":{"code":"LOB77","label":"Automation Platform"}}]
Log InLog in to view more of this document
This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.
Was this topic helpful?
Document Information
Modified date:
17 June 2018
UID
swg21659211