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

Conditional requirement bug in a Collection's addline

    Details

    • Type: Bug Fix Bug Fix
    • Status: Closed Closed
    • Priority: Major 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
    • Similar issues:
      KULRICE-7532required validation fails in StackedCollectionSubSection addLine
      KULRICE-9586Need to avoid required validation checks on addLine
      KULRICE-8087collection property "includeLineSelectionField" should ignore addLine row
      KULRICE-11813Update Collection Addline in Lightbox AFT to check validation tooltip
      KULRICE-12923addLine does not work inside addDialog when used in a StackedCollection
      KULRICE-12709Add conditional constraint capability to data dictionary CollectionDefinition
      KULRICE-14043QuickFinder on Collection AddLine causes JavaScript Errors
      KULRICE-8905Possible bug in RoleServiceImpl
      KULRICE-129025 nested collection layers has problems with refreshWhenChangedPropertyNames
      KULRICE-5943Agenda Namespace required bug alert workaround.
    • 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

        Issue Links

          Activity

          Hide
          Jessica Coltrin (Inactive) added a comment -

          Assigning to 2.2 for review by DMs.

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

          Prerequisite constraints are used for this behavior

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

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Structure Helper Panel