Details

    • Rice Team:
      QA

      Description

      When creating a transactional document attributes that are defined on the transactional document entry in the data dictionary are not getting picked up by the UIF.

      The logic for picking up a backing data dictionary entry is in:

      ViewHelperServiceImpl#findNestedDictionaryAttribute

      I think what we can do is modify this block:

      if (StringUtils.isNotBlank(parentPath)) {
      Class<?> dictionaryModelClass = ViewModelUtils.getPropertyTypeByClassAndView(view, parentPath);
      if (dictionaryModelClass != null)

      { dictionaryObjectEntry = dictionaryModelClass.getName(); attributeDefinition = getDataDictionaryService().getAttributeDefinition(dictionaryObjectEntry, dictionaryAttributeName); }

      }

      to see if the dictionaryModelClass is instanceof org.kuali.rice.krad.document.Document. If so, call the DocumentDictionaryService.

      Then we need to add a method AttributeDefinition getAttributeDefinition(org.kuali.rice.krad.document.Document, String attributeName) to DocumentDictionaryService. This can be implemented similar to org.kuali.rice.krad.service.impl.DataDictionaryServiceImpl#getAttributeDefinition, except needs to look at org.kuali.rice.krad.datadictionary.DataDictionary#getDocumentEntry.

        Attachments

          Issue Links

            Activity

            There are no comments yet on this issue.

              People

              • Assignee:
                jkneal Jerry Neal (Inactive)
                Reporter:
                jkneal Jerry Neal (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 1 day
                  1d
                  Remaining:
                  Remaining Estimate - 1 day
                  1d
                  Logged:
                  Time Spent - Not Specified
                  Not Specified