Uploaded image for project: 'Confluence Cloud'
  1. Confluence Cloud
  2. CONFCLOUD-67881

Assigning a Task on a Page Comment Causes 500 Error

    XMLWordPrintable

Details

    Description

      Issue Summary

      If a User uses the keyboard shortcut/markdown, [] , to create a Task in a bottom of the page comment, when the comment is saved, a 500 Error is displayed and the comment is not saved

      Environment

      Cloud

      Steps to Reproduce

      1. On a page in Confluence, type in [] to insert a Task (the task does not need to be assigned)
      2. Save the Comment

      Expected Results

      • Per the Task Docs (Server/[Cloud|https://confluence.atlassian.com/confcloud/add-formatting-to-your-page-724764836.html]) it does not appear that Tasks are supported in Comments but only on Pages.
        • We would expect the [] shortcut to not convert create a task (tested in Conf Server 7.0.1 and this is what occurred, the brackets did not convert)
      • If a Task can now be created as part of a Bottom of the Page Comment, we would expect that the comment is saved successfully

      Actual Results

      Browser console shows a few errors:

      [@14992 b]  "taskFail"  
      {action: "taskFail", name: "add-page-comment/publish", id: "3222cbc5-81d0-4384-813f-b862b3689579", startTime: 14709.335000021383, duration: 283, …}
      action: "taskFail"
      attributes: {editor: "TINY_MCE", mode: "addComment"}
      duration: 283
      error: Error: GraphQL error: Received status 500 at new t (https://confluence-v1.prod.atl-paas.net/master/vendors~4134d62c.c016da862079dddce629-v39.js:2:1208291) at e.<anonymous> (https://confluence-v1.prod.atl-paas.net/master/vendors~4134d62c.c016da862079dddce629-v39.js:2:1225849) at https://confluence-v1.prod.atl-paas.net/master/vendors~4134d62c.c016da862079dddce629-v39.js:2:259552 at Object.next (https://confluence-v1.prod.atl-paas.net/master/vendors~4134d62c.c016da862079dddce629-v39.js:2:259657) at https://confluence-v1.prod.atl-paas.net/master/vendors~4134d62c.c016da862079dddce629-v39.js:2:258595 at new Promise (<anonymous>) at l (https://confluence-v1.prod.atl-paas.net/master/vendors~4134d62c.c016da862079dddce629-v39.js:2:258372) at Object.next (https://confluence-v1.prod.atl-paas.net/master/vendors~4134d62c.c016da862079dddce629-v39.js:2:1225695) at m (https://confluence-v1.prod.atl-paas.net/master/vendors~4134d62c.c016da862079dddce629-v39.js:2:1018864) at v (https://confluence-v1.prod.atl-paas.net/master/vendors~4134d62c.c016da862079dddce629-v39.js:2:1019368)
      id: "3222cbc5-81d0-4384-813f-b862b3689579"
      name: "add-page-comment/publish"
      startTime: 14709.335000021383
      __proto__: Object

      Notes

      On Confluence Server 7.0.1 the [] keyboard shortcut is not converted to a task and is kept as plain text
      The menu option to insert Tasks is not available in the Comment Editor

      (Optional - If Necessary)

      Workaround

      Refresh the page and add a comment without a Task.

      If a Task needs to be assigned to a User, edit the page and include there.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              scranford Shawn C
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: