Details

    • Similar issues:
      KULRICE-8951Property editors not getting picked up on add line and collection line items
      KULRICE-12625Attribute definitions not being correctly picked up from data dictionary for input fields
      KULRICE-4137Validations and labels for group qualfications not getting correctly picked up
      KULRICE-10120Attribute Definition: Conversion Guide
      KULRICE-5404Create model objects for attribute definitions
      KULRICE-8808Rich messages not getting picked up on image caption or cutline text
      KULRICE-7350Preload view objects from Spring
      KULRICE-8513Role document blows up if the attribute definition id of a qualifier contains a hyphen
      KULRICE-9871Templates note getting picked up for JSON request
      KULRICE-6721Document search does not work properly with KNS Attribute Definitions
    • 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.

        Issue Links

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              Jerry Neal (Inactive)
              Reporter:
              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

                  Structure Helper Panel