Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorddunne2011-08-16 18:09:05 +0000
committerRyan D. Brooks2011-08-16 18:09:05 +0000
commitf3ed1ea5185bedda11deace572723d912d6ed02a (patch)
treeeb25c7247cb2ee39439b1d99b7d667e760c3351b
parent26f9aebb1400bb6db06b7745f22ecaed96966e17 (diff)
downloadorg.eclipse.osee-0.9.9.v201108160003_RC.tar.gz
org.eclipse.osee-0.9.9.v201108160003_RC.tar.xz
org.eclipse.osee-0.9.9.v201108160003_RC.zip
bug: WorkDef - Fix validation check for attribute required for completion0.9.9.v201108160003_RC
-rw-r--r--plugins/org.eclipse.osee.ats.core/src/org/eclipse/osee/ats/core/validator/AtsXWidgetValidator.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/org.eclipse.osee.ats.core/src/org/eclipse/osee/ats/core/validator/AtsXWidgetValidator.java b/plugins/org.eclipse.osee.ats.core/src/org/eclipse/osee/ats/core/validator/AtsXWidgetValidator.java
index 1c268872cd8..9f8087e6940 100644
--- a/plugins/org.eclipse.osee.ats.core/src/org/eclipse/osee/ats/core/validator/AtsXWidgetValidator.java
+++ b/plugins/org.eclipse.osee.ats.core/src/org/eclipse/osee/ats/core/validator/AtsXWidgetValidator.java
@@ -46,7 +46,7 @@ public abstract class AtsXWidgetValidator implements IAtsXWidgetValidator {
if (isRequiredForTransition(widgetDef) && isEmptyValue(provider)) {
return new WidgetResult(WidgetStatus.Invalid_Incompleted, widgetDef, "[%s] is required for transition",
widgetDef.getName());
- } else if (isTransitionToComplete(toStateDef) && isRequiredForCompletion(widgetDef)) {
+ } else if (isTransitionToComplete(toStateDef) && isRequiredForCompletion(widgetDef) && isEmptyValue(provider)) {
return new WidgetResult(WidgetStatus.Invalid_Incompleted, widgetDef,
"[%s] is required for transition to [%s]", widgetDef.getName(), toStateDef.getName());
}

Back to the top