Uploaded image for project: 'Kylin'
  1. Kylin
  2. KYLIN-3662

exception message "Cannot find project '%s'." should be formated

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: v2.5.0
    • Fix Version/s: v2.6.0
    • Component/s: None
    • Labels:
      None

      Description

      When use kylin dashboard without system cube, exception is threw as follows,

      org.apache.kylin.rest.exception.BadRequestException: Cannot find project '%s'.
       at org.apache.kylin.rest.service.QueryService.doQueryWithCache(QueryService.java:378)
       at org.apache.kylin.rest.service.QueryService.doQueryWithCache(QueryService.java:359)
       at org.apache.kylin.rest.controller.DashboardController.getQueryMetrics(DashboardController.java:74)
      

      The log is unfriendly to users.

        Attachments

        1. 0001-KYLIN-3662.patch
          1 kB
          Lingang Deng

          Activity

            People

            • Assignee:
              chitin Lingang Deng
              Reporter:
              chitin Lingang Deng
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: