Issue Summary

      This is reproducible on Data Center: (yes)

      Steps to Reproduce

      1. Attempt to create a page with the Decision template (by clicking the ellipsis by the side of the Create button)
      2. Insert letters in the Due Date field, example: "asap"

      Expected Results

      In Confluence 7.19.17, the draft page is loaded with an error of "Invalid format" by the side of the due date field:

      Actual Results

      In Confluence 8.5.3, a System Error page is displayed when hitting "Create" and the page is not created at all.

      The below exception is thrown in the xxxxxxx.log file:

      023-12-14 17:58:44,933 ERROR [http-nio-6853-exec-7 url: /c853/plugins/createcontent/draft-createpage.action; user: admin] [apache.struts2.dispatcher.DefaultDispatcherErrorHandler] sendErrorResponse Exception occurred during processing request: null
       -- url: /c853/plugins/createcontent/draft-createpage.action | userName: admin | referer: http://localhost:6853/c853/pages/resumedraft.action?draftId=98371&draftShareId=924ca89d-1700-4182-8d60-852783c35d40& | traceId: af48ff57b8bd63f8
      Class: org.apache.velocity.runtime.parser.node.ASTIdentifier
      File: ASTIdentifier.java
      Method: execute
      Line: 228 - org/apache/velocity/runtime/parser/node/ASTIdentifier.java:228:-1
      	at org.apache.struts2.components.UIBean.end(UIBean.java:543)
      	at org.apache.struts2.views.velocity.components.AbstractDirective.render(AbstractDirective.java:86)
      	at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:175)
      	at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
      	at org.apache.velocity.runtime.directive.Parse.render(Parse.java:263)
      	at com.atlassian.confluence.setup.velocity.ProfilingParseDirective.render(ProfilingParseDirective.java:21)
      	[...]
      	Caused by: Invocation of method 'getWysiwygContent' in  class com.atlassian.confluence.plugins.createcontent.actions.CreateAndEditAction threw exception java.lang.RuntimeException: com.ctc.wstx.exc.WstxParsingException: Unexpected close tag </td>; expected </time>.
       at [row,col {unknown-source}]: [1,1013] at /template/aui/editor.vm[line 63, column 14] - Class: org.apache.velocity.runtime.parser.node.ASTIdentifier
      File: ASTIdentifier.java
      Method: execute
      Line: 228 - org/apache/velocity/runtime/parser/node/ASTIdentifier.java:228:-1
      	at org.apache.struts2.components.UIBean.end(UIBean.java:543)
      	at org.apache.struts2.views.velocity.components.AbstractDirective.render(AbstractDirective.java:86)

      Both situations are not ideal, the user should not be able to insert text in the Due Date field.

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

            [CONFSERVER-93650] Decision Blueprint cannot handle invalid input in due date field

            There are no comments yet on this issue.

              Unassigned Unassigned
              6444c12a624d B Cavalcante
              Affected customers:
              0 This affects my team
              Watchers:
              2 Start watching this issue

                Created:
                Updated: