Uploaded image for project: 'Causeway'
  1. Causeway
  2. CAUSEWAY-3554

Framework should throw a more meaningful exception, when validateXxx support method returns an empty string.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Resolved
    • 2.0.0-RC2
    • 2.0.0-RC3
    • None
    • None

    Description

      As of version 2.0.0-RC2.20230814-1413-067ef90d , validateXxx function is not working when validation passes(it returns empty string as expected), a gif of the behavior is attached below.
      The code base to reproduce the issue is https://github.com/kerhbal/causeway-simpleapp-rc
      Steps:
      1. Run the app
      2. From top menu, select Simple Objects -> Find By Multiple Filters
      3. The validation condition is filter1 and filter2 cannot be both null, so just put some string into filter1 will pass the validation
      4. Then click ok

      Attachments

        1. chrome_Lx303m9H3U.gif
          39 kB
          Hao S

        Activity

          People

            hobrom Andi Huber
            hao.s Hao S
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: