Kuali Rice Development
  1. Kuali Rice Development
  2. KULRICE-3701

Possible problem with LookupResultService.retrieveResultsTable, service needs to support other types of BOs (non persistable, externalizable, etc.

    Details

    • Type: Bug Fix Bug Fix
    • Status: Closed Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 1.0.1, 1.0.2
    • Fix Version/s: KC Release 2.0, 1.0.2
    • Component/s: Development
    • Labels:
      None
    • Similar issues:
      KULRICE-4046Need to investigate if it is necessary and possible to annotate @MappedSuperClass and @AttributeOverrides (Example KIM BOs)
      KULRICE-1949Workflow needs a concept of a 'default' or 'fail safe' rule to fire when no other rules fire when routing non-client document types
      KULRICE-8651There are two services that serialize BOs to XML and they have different configurations
      KULRICE-3999Need a dynamic way to add classes to kns-application-unit persistence unit
      KULRICE-3455Possible issues with remoting of KIM Type Services and attributes
      KULRICE-2497Role Type Service modifications to support KFS
      KULRICE-2731Allow for BusinessObjectService to persist to more than one data source
      KULRICE-6053Add documentation on "Integrating KIM with other IDM services" to the KIM technical docs
      KULRICE-1488Need to support more robust attribute types and validate them as well
      KULRICE-4642Remove support for object remoting
    • Rice Module:
      KNS
    • Application Requirement:
      KC

      Description

      While trying to add one to N KcPeople to a proposal budget document, I encountered a problem with the lookupresult service. I am able to perform a search, and select results, but when I attemp to return the selected people to the budget document, I have a problem.

      KraServiceLocator.getService(LookupResultsService.class).retrieveResultsTable(lookupResultsSequenceNumber, GlobalVariables.getUserSession().getPerson().getPrincipalId()); returns a collection of ResultRow objects that have Null objectIDs and Null businessObjects.

      My expectations were the collection would have been the KcPerson objects I had selected on the look up screen

      note: the KcPerson is a non persistable BO there retrieveSelectedResultBOs is not a valid option because it requires PersistableBusinessObjects to be involved.

      this problem is occuring on rice-1.0.1-kc branch

      1. kc-config.xml
        5 kB
        Travis Schneeberger
      2. KULRICE3701-kc-impacts.diff
        14 kB
        James Smith

        Issue Links

          Activity

          Hide
          James Smith added a comment -

          One minor glitch to work out in the unit test and I can close this up...

          Show
          James Smith added a comment - One minor glitch to work out in the unit test and I can close this up...
          Hide
          James Smith added a comment -

          Just FYI, my unit test turned up some issues with the data dictionary stuff - I'm fixing now.

          Show
          James Smith added a comment - Just FYI, my unit test turned up some issues with the data dictionary stuff - I'm fixing now.
          Hide
          James Smith added a comment -

          Fixes have been committed - unit test coming soon...

          Show
          James Smith added a comment - Fixes have been committed - unit test coming soon...
          Hide
          James Smith added a comment -

          My unit test had to add beans to KNSSpringBeans.xml, because if I have them in the test beans, they don't load in the right order. So I'm going to add them to KNSpringBeans.xml for now, make sure my test runs, see if I can't close this up, and then create a JIRA to move those beans in 1.1

          Show
          James Smith added a comment - My unit test had to add beans to KNSSpringBeans.xml, because if I have them in the test beans, they don't load in the right order. So I'm going to add them to KNSpringBeans.xml for now, make sure my test runs, see if I can't close this up, and then create a JIRA to move those beans in 1.1
          Hide
          James Smith added a comment -

          Done. Resolving this out.

          Show
          James Smith added a comment - Done. Resolving this out.

            People

            • Assignee:
              James Smith
              Reporter:
              Jay Hulslander
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Structure Helper Panel