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

AgendaEditor: Attribute query for context field doesn't work.


    • Type: Bug Fix Bug Fix
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: 2.5.2
    • Component/s: Development
    • Security Level: Public (Public: Anyone can view)
    • Labels:
    • Similar issues:
      KULRICE-8713Use of method with field attribute query causes doesn't work due to method arguments not getting sent by script
      KULRICE-11413Ajax field queries not working
      KULRICE-5245Fix context selection so that it can query on multiple attributes
      KULRICE-11961Ajax field queries do not work
      KULRICE-7592Suggest query not working correctly with custom service method
      KULRICE-11508Ajax field query enhancement on load
      KULRICE-5816Get context selection working correctly in agenda editor
      KULRICE-8494Build test case of attribute query and custom method
      KULRICE-6460Component refresh doesn't work after closing a lightbox
      KULRICE-7182Permission lookup by Attribute Value doesn't seem to work
    • Epic Link:
    • Rice Module:
    • Application Requirement:
    • KAI Review Status:
      Not Required
    • KTI Review Status:
      Not Required
    • Code Review Status:
      Not Required


      Rice used to populate the context id field based on namespace and contextName. A good working sample is in KC 5.2 which uses Rice 2.3.6:

      • Create a new agenda
      • select a name space (i.e. Award Budget)
      • use the tab key to tab into and out of the Context field
      • Notice that the contest is filled in (i.e. "KC Award Budget Context") because there is only one context for that name space.

      This doesn't work with the current rice (and in KC 6.0)

      BTW, this behavior is configured in AgendaEditorView.xml via the following snipped:

                      <!-- populate context id field on tab out based on namespace and contextName-->
                      <property name="attributeQuery">
                          <bean parent="Uif-AttributeQueryConfig" p:dataObjectClassName="org.kuali.rice.krms.impl.repository.ContextBo"
                              p:queryFieldMapping="namespace:namespace,contextName:name" p:returnFieldMapping="id:agenda.contextId">
                            <property name="additionalCriteria">
                                <entry key="active" value="true" />


        Claus Niesen added a comment -

        That wasn't a feature but an unintended and unsupported side effect.

        Claus Niesen added a comment - That wasn't a feature but an unintended and unsupported side effect.


          • Assignee:
            Claus Niesen
          • Votes:
            0 Vote for this issue
            1 Start watching this issue


            • Created:

              Structure Helper Panel