Uploaded image for project: 'Community Dashboard Framework'
  1. Community Dashboard Framework
  2. CDF-670

As a dashboard developer using a TableComponent, I would like to be able to provide a friendly error message when a query fails

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Severity: High
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.0.0 GA, 6.1-16.08.18
    • Component/s: None
    • Labels:
      None
    • Story Points:
      2
    • Notice:
      When an issue is open, the "Fix Version/s" field conveys a target, not necessarily a commitment. When an issue is closed, the "Fix Version/s" field conveys the version that the issue was fixed in.

      Description

      There is a call to query.fetchData(querydef, successHandler) that fails to include an errorHandler.
      As a result, the query object uses the default error handling algorithm, which the component is unaware of.
      As such, we can't provide an alternative error message

      Success Criteria:

      • Expose a failureCallback function.
      • Always pass it as an argument to fetchData.
      • Add a javascript unit test covering this new behaviour.
      • Attach a sample showcasing this new behaviour.

      No UX impact

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                vgervasio Vasco Manuel Rolao Gervasio
                Reporter:
                crusso Carlos Russo
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: