Uploaded image for project: 'Forms'
  1. Forms
  2. FORMS-468

Dashboard - Display bug on empty date field

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 2.14.1, 2.15.0
    • 2.14.0
    • None
    • None
    • 4.6 M4

      how reproduced

      He will get the error.
      In the back office admin there is this error:

      Caused by: java.time.format.DateTimeParseException: Text '' could not be parsed at index 0
      at java.base/java.time.format.DateTimeFormatter#parseResolved0:2046
      at java.base/java.time.format.DateTimeFormatter#parse:1948
      at java.base/java.time.ZonedDateTime#parse:598
      at org.ametys.plugins.forms.processing.AbstractFormFieldGenerator#_getReadableValue:138
      at org.ametys.plugins.forms.processing.AbstractFormFieldGenerator#saxFieldValue:77
      at org.ametys.plugins.forms.processing.AbstractFormFieldGenerator#saxFieldValue:63
      at org.ametys.plugins.forms.workflow.FormEntryInformationGenerator#generate:94
      at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline#processXMLPipeline:581
      ... 91 more
      

            bmaurel Bérénice Maurel
            afrancois Anastasia François
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: