A value provider you configured on the attribute has filtered out the chosen value.
We are now getting an odd error in our project area: Invalid value of attribute 'TargetRelease': A value provider you configured on the attribute has filtered out the chosen value.
We have an enumeration called that is used for the attribute TargetRelease and we have a value that is Archived (in 4.0.0.1). We have a small subset of work items that still have the archived value, which displays just fine. This morning, in advance of adding a validator for a totally different attribute, I enabled "Attribute Validation". Since I didn't have any validators used by any of the work items, I didn't think it would be an issue. I have 2 people now who report getting that error when attempting to add a comment and save on a work item with that archived enumeration value. (confirmed multiple clients including web client) Is this expected? I thought archiving an enumeration value would be fine for existing work items but just wouldn't be shown when attempting to set the value. Or is this a bug? Is there any way around this (other than un-archiving the release or not having attribute validation? Susan |
2 answers
Attribute Validation by definition "Verifies that a work item can only be saved if all attribute values are valid."
and so the archived values for the enumeration wouldn't qualify for a valid value for the attribute anymore. So, I feel this is expected. please feel free to correct me if got the requirement wrong. Comments
Susan Hanson
commented Jul 26 '13, 10:13 a.m.
Well ... we think of an archived enumeration as a valid value in existing work items but you then wouldn't be allowed to set that value to any new or existing work items that do not already have that value.
|
Morning, Almost 3 years... but i have the same issue. I've solved it with a Validation Script that always returns "OK" linked to the enumeration. Hope it can help someone else that have searched for a solution to the same error. Something like this:
dojo.provide("org.ibm.team.workitem.validatorAlwaysTrue");
return Status.OK_STATUS;
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.