Backend inline validation rules should removed input values with 0 matching when rules

XMLWordPrintable

    • S25-W44/45, S25-W46/47, S25-W48/49, S25-W50/51/52/01, S26-W06/07
    • 0.5

      Scenario:

      • Create validation rules for field A, which have when rule to validate only other field B value is 1. Example:
      ['objects', 'fields' => [
        'B' => ['integer'],
        'A' => ['integer', 'when' => ['B', 'in' => [1]]
      ]]
      
      • Submit form with A=100 and B=2

      Result: Both A and B is available in validated input

      Expected: Only B should be in validated input

      Solution: if none field validations have run (skipped because of when rules), field should be removed form validated input.

        1. image-2025-10-30-11-52-05-410.png
          63 kB
          Ginta Berzina
        2. issuerSubjectNotSaved.gif
          502 kB
          Sanija Smildzina
        3. screenshot-1.png
          112 kB
          Sanija Smildzina
        4. screenshot-2.png
          93 kB
          Sanija Smildzina
        5. snmp_walk_timeout_issue.mp4
          9.57 MB
          Ginta Berzina

            Assignee:
            Deniss Ponomarenko
            Reporter:
            Ginta Berzina
            Team B
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - Not Specified
                Not Specified
                Logged:
                Time Spent - 61.5h
                61.5h