Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-23785

AWM: Date field with trailing whitespace in format causes save error on entry instead of during app creation

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 16.8.0
    • App Within Minutes
    • None
    • Windows 11 Pro, Edge 142, using an instance of XWiki 17.8.0 on MariaDB 12.0, Jetty 12.0
    • Unknown

    Description

      Steps to reproduce:

      1. Click on "More application" from Application panel
      2. Click on "Create your own"
      3. Create Application
      4. Insert a name and continue
      5. Drag and drop "date" field
      6. From "Configure" delete the hour and let only the "dd/MM/yyyy "(note the space after the yyyy)

      *Expected result:*

      If the format contains invalid characters (e.g., a trailing whitespace), the system should show an error banner at that moment. This allows the user to correct the format before the app is created, instead of encountering the error later when saving data.

      *Actual result:*

      The error occurs only during data entry when saving a record, blocking the user unexpectedly.

      Attachments

        Activity

          People

            Unassigned Unassigned
            atarata Andreea Tarata
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: