Uploaded image for project: 'Blesta Core'
  1. Blesta Core
  2. CORE-3552

Custom reports with errors may not fail gracefully

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.9.0-b2
    • Component/s: Staff Interface
    • Labels:
      None

      Description

      It's possible an error may be encountered when a bad query is written for a custom report. However, the error may not appear in the UI because a white-page could be generated instead due to a subsequent error trying to create an IteratorIterator for a null PDO statement.

      Uncaught TypeError, code 0 in /public_html/components/reports/custom_report/custom_report.php on line 118 Message: Argument 1 passed to IteratorIterator::__construct() must implement interface Traversable, null given

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            tyson Tyson Phillips (Inactive)
            Reporter:
            tyson Tyson Phillips (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Fix Release Date:
              3/Apr/20

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 20 minutes
              20m

                Agile