IBM Support

Validation fails with a disabled constraint

Troubleshooting


Problem

When you try to validate a model in IBM Rational Software Architect (RSA), you receive the error message: "The constraint :::: is disabled. It will not be evaluated".

Cause

This error happens if one of your UML elements has a stereotype applied to it that comes from a profile which is referred to by the model but incorrectly applied to it. The exact reason why such a situation would happen is unknown.

Resolving The Problem

SOLUTION

  1. Remove all the stereotypes that refer to the corrupted profile

  2. Remove the profile

  3. Add the profile again from the list of profiles that RSA offers

  4. Recreate the stereotypes

[{"Product":{"code":"SSYK2S","label":"Rational Software Architect Designer"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Modeling","Platform":[{"code":"PF016","label":"Linux"},{"code":"PF022","label":"OS X"},{"code":"PF033","label":"Windows"}],"Version":"9.0;8.5.1;8.5;8.0.4.2;8.0.4.1;8.0.4","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}},{"Product":{"code":"SS4JCV","label":"Rational Software Architect for WebSphere Software"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Modeling","Platform":[{"code":"PF016","label":"Linux"},{"code":"PF022","label":"OS X"},{"code":"PF033","label":"Windows"}],"Version":"8.0.4;8.0.4.1;8.0.4.2;8.5;8.5.1;9.0","Edition":"","Line of Business":{"code":"LOB15","label":"Integration"}}]

Document Information

Modified date:
10 September 2020

UID

swg21641155