[KULRICE-5400] Case/When statement does not execute RequiredConstraint (SimpleConstraint) DictionaryValidatoinServiceImpl Created: 19/Jul/11 Updated: 23/Feb/12 Resolved: 31/Jul/11
|Project:||Kuali Rice Development|
|Fix Version/s:||2.0.0-m7, 2.0|
|Security Level:||Public (Public: Anyone can view)|
|Reporter:||Norm Wright||Assignee:||Will Gomes (Inactive)|
|Remaining Estimate:||Not Specified|
|Time Spent:||Not Specified|
|Original Estimate:||Not Specified|
|KAI Review Status:||Not Required|
|KTI Review Status:||Not Required|
Created a case/when constraint that is supposed to add a RequiredConstraint (really a SimpleConstraint) to be executed but the RequiredConstraint never gets executed.
Running the debugger the case/when executes properly and the RequiredConstraint (actually a SimpleConstraint with required=true) successfully gets added to the list of additionalConstraints and then added to the constraintQueue but it does not get executed by the ExistenceConstraintProcessor.java
I think it is in this piece of code in the DictionaryValidationServiceImpl.java.
I think it is because in the debugger the constraintType is ExistenceConstraint.class but SimpleConstraint.java does not implement ExistenceConstraint.java
|Comment by Norm Wright [ 27/Jul/11 ]|
A test that shows this error can be found in
|Comment by Rice-CI User (Inactive) [ 01/Aug/11 ]|
Integrated in rice-trunk-nightly #137 (See http://ci.rice.kuali.org/job/rice-trunk-nightly/137/)
|Comment by Jessica Coltrin (Inactive) [ 23/Feb/12 ]|
Closing since these items are now in the release notes.