Uploaded image for project: 'Word-based Notification Application'
  1. Word-based Notification Application
  2. WORDNOTIF-6

HTTP ERROR 400 Bad argument error when clicking "Add" button with an empty query

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 1.1
    • 1.0
    • Windows 11 Pro, Edge 119, using a local instance of XWiki 15.5.3 on Jetty/HSQLDB
    • Unknown
    • N/A
    • N/A

    Description

      Steps to reproduce

      1. Go to own user profile
      2. Click on "Word-Based Notification" tab
      3. Without inserting any query, click "Add" button

      Expected result

      A small red warning is displayed under the "Insert New Query" input field saying maybe: "This field is mandatory".

      Actual results

      The user is directed to a HTTP 400 Error:

      HTTP ERROR 400 Bad argument
      
      URI:/xwiki/bin/view/XWiki/Admin
      STATUS:400
      MESSAGE:Bad argument
      SERVLET:action 
      
      Powered by Jetty:// 10.0.12

      In my opinion, either:

      • the warning message should be displayed when the "Add" button is clicked with an empty box (prior executing the action)
      • the "Add" button should be disabled (greyed out) altogether until something is inserted in the box

      Attachments

        Activity

          People

            surli Simon Urli
            iandriuta Ilie Andriuta
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: