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

Charts with missing title parameter will break page

    XMLWordPrintable

Details

    Description

      Issue Summary

      With Confluence Tables you have the ability to create a Chart from the table. These tables allow custom title parameters. However, if the title parameter is missing then the entier page will not render and provide a We've Hit a Snag error message. Additionally the below error will be thrown in the browser Console:
      **

      ERROR

      error: Cannot read properties of undefined (reading 'chartTitle')
      

      This is the missing parameter in the source code of the page for the chart:

      <ac:adf-parameter key="titles-field">
          <ac:adf-parameter key="chart-title">Untitled chart</ac:adf-parameter>
      </ac:adf-parameter>
      

      Steps to Reproduce

      1. Navigate to the page with the Chart missing the title
      2. Be presented with we've hit a snag error

      Expected Results

      The Chart should load without the custom title

      Actual Results

      A we've hit a snag error message is thrown.

      Workaround

      Reach out to Support

      Attachments

        Issue Links

          Activity

            People

              ahixon Alex Hixon
              590db20ccbc2 Isaac S (Atlassian Support)
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 25m
                  25m