Uploaded image for project: 'Kuali Rice Development'
  1. Kuali Rice Development
  2. KULRICE-7110

Conditional requirement bug in a Collection's addline

    Details

    • Type: Bug Fix
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 2.0
    • Fix Version/s: 2.2
    • Component/s: Configuration
    • Security Level: Public (Public: Anyone can view)
    • Labels:
      None
    • Rice Module:
      KRAD
    • Application Requirement:
      KS
    • KAI Review Status:
      Not Required
    • KTI Review Status:
      Not Required

      Description

      I have two InputFields in the addline of a collection, field1 with required="true" and field2 with required="@

      {#lp.checkbox1}

      ", and checkbox1 is on by default. When the 'save' action button is clicked, field1 is ignored but field2 is highlighted with the "Required" error and the form cannot be submitted.

      This is the addline row, and the 'add' button was never clicked. Seems like the save action would totally ignore the addline, and not validate it at all. But it seems weird that it's smart enough to ignore field1 which is required, but not field2 which has a conditional requirement attached to it.

      rice.usergroup.krad@kuali.org thread:
      https://groups.google.com/a/kuali.org/group/rice.usergroup.krad/browse_thread/thread/3b10df27d96f4365

        Attachments

          Issue Links

            Activity

            Hide
            jcoltrin Jessica Coltrin (Inactive) added a comment -

            Assigning to 2.2 for review by DMs.

            Show
            jcoltrin Jessica Coltrin (Inactive) added a comment - Assigning to 2.2 for review by DMs.
            Hide
            bsmith Brian Smith (Inactive) added a comment -

            Prerequisite constraints are used for this behavior

            Show
            bsmith Brian Smith (Inactive) added a comment - Prerequisite constraints are used for this behavior

              People

              • Assignee:
                Unassigned
                Reporter:
                bobhurt Bob Hurt (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: