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

AddLineDialog does not receive the add line context so #lp and #line cannot be used

    Details

    • Type: Bug Fix Bug Fix
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.5
    • Fix Version/s: 2.5.1
    • Component/s: Development
    • Security Level: Public (Public: Anyone can view)
    • Labels:
      None
    • Similar issues:
      KULRICE-7984Binding prefixes (#lp, #dp, #line) not working with property replacer condition
      KULRICE-13956Term Specification maintenance screen "add Contexts" and "add Categories" action lines are non fuctional.
      KULRICE-12134Add line highlighting incorrect when using separate add line functionality
      KULRICE-9691js error when delete the last line from collection with Add Blank Line button
      KULRICE-6959Datatables includes the add line in the number of records message
      KULRICE-11221Provide ability to use add line with stacked list
      KULRICE-8504TableLayout Collection does not render correctly with separate add line
      KULRICE-12465Document note line cannot be deleted
      KULRICE-5643ContextVariable 'LINE' not working with CollectionGroup.actionFields
      KULRICE-6709Configuring separate add line fields for a collection causes and exception when attempting to add a line
    • Rice Team:
      Middleware
    • Rice Module:
      KRAD
    • Application Requirement:
      KC, Rice
    • Sprint:
      Middleware 2.5.1 Sprint 3, Middleware 2.5.2 Sprint 1, Middleware 2.5.2 Sprint 2, Middleware 2.5.2 Sprint 3
    • KAI Review Status:
      Not Required
    • KTI Review Status:
      Not Required
    • Code Review Status:
      Not Required
    • Include in Release Notes?:
      Yes
    • Story Points:
      5

      Description

      When using the addLineDialog override option in a collection it does not receive the context of the add line so #lp and #line cannot be used.

      <bean id="PropDev-CompliancePage-CreateProtocolButton" parent="PropDev-CompliancePage-CreateProtocolButton-parentBean" />
          <bean id="PropDev-CompliancePage-CreateProtocolButton-parentBean" abstract="true"
                     parent="Uif-PrimaryActionButton-Small" p:actionLabel="Create Protocol"
                     p:methodToCall="createProtocol" p:iconClass="icon-ok" p:dialogDismissOption="REQUEST"
                     p:render="@{#line.linkedToProtocol 
                                     or (#empty(#line.protocolNumber) 
                                          and (#line.approvalTypeCode == '#{T(org.kuali.coeus.common.framework.compliance.core.SpecialReviewApprovalType).NOT_YET_APPLIED}' 
                                          and ((#line.specialReviewTypeCode == '#{T(org.kuali.coeus.common.framework.compliance.core.SpecialReviewType).HUMAN_SUBJECTS}' 
                                                   and specialReviewHelper.IsIrbProtocolLinkingEnabled) 
                                              or (#line.specialReviewTypeCode == '#{T(org.kuali.coeus.common.framework.compliance.core.SpecialReviewType).ANIMAL_USAGE}' 
                                                   and specialReviewHelper.IsIacucProtocolLinkingEnabled))))}"/>
      

        Activity

        Hide
        Kristina Taylor (Inactive) added a comment -

        Can you provide a use case with Uif setup or a link to the code where KC is attempting to do this?

        Show
        Kristina Taylor (Inactive) added a comment - Can you provide a use case with Uif setup or a link to the code where KC is attempting to do this?
        Hide
        Martin Taylor (Inactive) added a comment -

        Closing 2.5.1 Development

        Show
        Martin Taylor (Inactive) added a comment - Closing 2.5.1 Development

          People

          • Assignee:
            Kristina Taylor (Inactive)
            Reporter:
            Brian Smith (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Agile

                Structure Helper Panel