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

Standalone server is attempting to load remotable attributes locally

    Details

    • Type: Bug Fix Bug Fix
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.2
    • Fix Version/s: 2.0.2
    • Component/s: Application Server
    • Security Level: Public (Public: Anyone can view)
    • Labels:
      None
    • Similar issues:
      KULRICE-2758Split KNS services for local vs. embedded
      KULRICE-2721Add switch on KIM Configurer to make run in local or remote modes
      KULRICE-4498Object remoting for SecurityAttributes is not being used correctly
      KULRICE-3721The "remote" run mode for KIM (and other Rice modules?) does not allow proper consumption of services from the bus
      KULRICE-13825Re Kuali Rice Remote Load Test Client
      KULRICE-6048Remove documentation on "object remoting" in 2.0 docs
      KULRICE-6749Configure rice sample app as a client app running against a standalone server
      KULRICE-7609In thin and remote mode, interaction with WorkflowDocumentActionsService is ocurring against endpoints published be applications other than the standalone server
      KULRICE-3455Possible issues with remoting of KIM Type Services and attributes
      KULRICE-4323KEW was attempting to load security attributes at ingestion time
    • Rice Module:
      KNS
    • Application Requirement:
      KC
    • KAI Review Status:
      Not Required
    • KTI Review Status:
      Not Required

      Description

      While KC is running in embedded mode, an attempt to perform a Unit Lookup (associated with Unit or UnitHierarchy Type) in KIM (Person or Role) Maintenance screens leads to a stacktrace with this error message:
      java.lang.IllegalArgumentException: The classname
      (org.kuali.kra.bo.Unit) does not represent a valid class which this application understands.

      We have customized our type services to override the baseLookupUrl for Unit Lookup. However, Rice code is not anticipating to deal with remotable attributes while attempting to load the businessObjectClass being looked up.

      In our specific case, Unit is a KC class and Rice Server shouldn't attempting to load it locally if the baseLookupUrl was overridden.

      Please see KCINFR-612 for additional details and comments.

        Activity

        Hide
        Kristina Taylor (Inactive) added a comment -

        I have attached the patch you gave me. It appears to work in my local embedded environment when the unpatched Rice does not. Can you please apply this to the codebase?

        Show
        Kristina Taylor (Inactive) added a comment - I have attached the patch you gave me. It appears to work in my local embedded environment when the unpatched Rice does not. Can you please apply this to the codebase?
        Hide
        Jeremy Hanson added a comment -

        committed to 2.0.2

        Show
        Jeremy Hanson added a comment - committed to 2.0.2

          People

          • Assignee:
            Jeremy Hanson
            Reporter:
            Kristina Taylor (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Structure Helper Panel