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

KRAD BasicDatePatternConstraint regex performance

    Details

    • Similar issues:
      KULRICE-12439Timestamp Validation accepts regex with non-existant hour
      KULRICE-11913Issue with regex email address validation
      KULRICE-10620Regex Constraint demos Timestamp, 12h, and 24h demoing incorrect constraint
      KULRICE-10767KRAD Demo Library Regex Constraints issues
      KULRICE-10942Create Automated Functional (Smoke) Tests for KRAD Labs - Kitchen Sink Validation - Regex
      KULRICE-12381DatePatternConstraint and BasicDatePatternConstraint allow dates that do not exist
      KULRICE-9613Document performance best practices in KRAD Guide
      KULRICE-8918Improved KRAD collections performance
      KULRICE-11776Create performance test environment: Bundled MySQL KRAD
      KULRICE-11777Create performance test environment: Bundled Oracle KRAD
    • Epic Link:
    • Rice Module:
      KRAD
    • KAI Review Status:
      Not Required
    • KTI Review Status:
      Not Required
    • Code Review Status:
      Not Required
    • Include in Release Notes?:
      Yes

      Description

      The code for convertDateFormatToRegex in DatePatternConstraint is slow and is executed for each component on each request. This information could be cached or improved in some way. By setting the "value" property with a regex instead of using the allowedFormats propoerty we shaved 500 ms of processing on a large form with many fields using the BasicDatePatternConstraint

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Daniel Epstein (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:

              Structure Helper Panel