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

autoGrowNestedPaths breaking complex field validations

    Details

    • Type: Bug Fix Bug Fix
    • Status: Closed Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.0-rc3, 2.0
    • Component/s: Data Dictionary
    • Security Level: Public (Public: Anyone can view)
    • Labels:
      None
    • Similar issues:
      KULRICE-2753Create a custom Business Rules class for Document Type to run complex validations
      KULRICE-5481Don't require control on complex fields and AttributeDefinitions
      KULRICE-4478HTML padded with spaces breaking hyperlink
      KULRICE-8110Assert that the watermarks exist in WatermarkValidationIT and break test in multiple tests
      KULRICE-7752UifDataAttributesIT testDataAttributesPresentInControls textInputField_attrs_control: complex data attributes script not found
      KULRICE-9375Ranged date field breaks required field indicator and row hiding
      KULRICE-5584Design: inline validation with Tables.
      KULRICE-10618Elements -> DataTable example breaks with Uncaught TypeError when the search field is used
      KULRICE-12222Fill AFT Gap: Kitchen Sink: Validation (Part 2)
      KULRICE-9077validating java.sql.Timestamp fields
    • KAI Review Status:
      Not Required
    • KTI Review Status:
      Not Required

      Description

      related to KULRICE-6312
      commit rev 24713 Jerry added autoGrowNestedPaths

      given a nested path "complexThing.name" if complexThing is null spring initializes complexThing with the type.newInstance() method because autoGrowNestedPaths is true.

      if there are any validation requirements on fields in complexThing they'll fail validation because they'll all be null

      we have fields that are elements of not-required complex objects. In this case complexThing is not required but complexThing.name is required

        Issue Links

          Activity

          Hide
          Larry Symms added a comment -

          update methods are broken until this is fixed.

          Show
          Larry Symms added a comment - update methods are broken until this is fixed.
          Hide
          Jessica Coltrin (Inactive) added a comment -

          Hey Jerry, can you take a look at this for 2.0?

          Show
          Jessica Coltrin (Inactive) added a comment - Hey Jerry, can you take a look at this for 2.0?
          Hide
          Jerry Neal (Inactive) added a comment -

          I went ahead and reverted the autoGrowNestedPaths back. I can't recall exactly why it was added, I was working on the validation issue from the KNS and thinking is was something with a NPE. I'll asked Chitra to retest that Jira as well.

          Show
          Jerry Neal (Inactive) added a comment - I went ahead and reverted the autoGrowNestedPaths back. I can't recall exactly why it was added, I was working on the validation issue from the KNS and thinking is was something with a NPE. I'll asked Chitra to retest that Jira as well.
          Hide
          Jessica Coltrin (Inactive) added a comment -

          Closing since these items are now in the release notes.

          Show
          Jessica Coltrin (Inactive) added a comment - Closing since these items are now in the release notes.

            People

            • Assignee:
              Jerry Neal (Inactive)
              Reporter:
              Larry Symms
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Structure Helper Panel