[KULRICE-7666] Implement default existence checks for Maintenance document and support general data objects Created: 16/Jul/12 Updated: 21/Apr/14 Resolved: 14/Feb/14
|Project:||Kuali Rice Development|
|Component/s:||Development, KNS Equivalency, Roadmap|
|Security Level:||Public (Public: Anyone can view)|
|Reporter:||Jerry Neal (Inactive)||Assignee:||Martin Taylor (Inactive)|
|Remaining Estimate:||2 days|
|Time Spent:||1 day|
|Original Estimate:||3 days|
|Epic Link:||Maintenance Equivalence|
|KRAD Feature Area:||
|Sprint:||2.4.0-m4 KRAD Sprint 2|
|KAI Review Status:||Not Required|
|KTI Review Status:||Not Required|
|Include in Release Notes?:||
Currently default existence checks are not being ran for KRAD maintenance documents. This is due to the restriction that the object be a business object. We need to allow for general data object support and enable in KRAD
|Comment by Kristina Taylor (Inactive) [ 08/Jan/14 ]|
I think the hook that I added in MaintenanceDocumentRuleBase.processAddCollectionLine may also be an additional place where this is needed. If, however, the checks are working for both the base maintenance document and all of its collections, then please remove the commented hook.
|Comment by Kristina Taylor (Inactive) [ 10/Jan/14 ]|
Does this mean that methods in DictionaryValidationService such as validateDefaultExistenceChecks(BusinessObject bo) should change to validateDefaultExistenceChecks(Object bo) or do the old methods need to be deprecated and new ones created?
|Comment by Martin Taylor (Inactive) [ 16/Jan/14 ]|
Ran through the DictionaryValidationService(Impl) and reset all method signatures from BusinessObject to Object to allow for dataObjects. When running tests found several needed to go through the KradLegacyDataAdapterImpl for testing reference definitions for collections and references. The methods (getReferenceIfExists, allForeignKeyValuesPopulatedForReference) being used were not implemented and produced exceptions. Began process of implementing methods and adding tests for business object and data objects.
|Comment by Martin Taylor (Inactive) [ 31/Jan/14 ]|
Patch update KRADDataAdapterImpl for reference and foreign key checks, replaces BusinessObject reference with Object in DictionaryValidationService and LegacyDataAdapter and their implementations