Breadcrumbs are not cleared when navigating to custom route

XMLWordPrintable

    • Type: Bug Report
    • Resolution: Fixed
    • Priority: L3 - Default
    • 7.15.0-alpha4, 7.14.6, 7.15.0
    • Affects Version/s: 7.14.4, 7.15.0-alpha3
    • Component/s: None
    • None

      Description (Required on creation; please attach any relevant screenshots, stacktraces, log files, etc. to the ticket):

      When I create my own route, the Breadcrumbs are not cleared

      Steps to reproduce (Required on creation):

      • add the attached custom script plugin.js to cockpit (copy to webappc/scripts folder and add to config.js)
      • navigate to the processes dashboard
      • Change to URL to #/path

      Observed Behavior (Required on creation):

      • The Breadcrumbs show Processes

      Expected behavior (Required on creation):

      • No breadcrumbs are shown

      Root Cause (Required on prioritization):

      • The root angular widget is configured with $scope.$root.showBreadcrumbs, which is not changed in custom plugins

      Solution Ideas (Optional):

      • Always set it to false for custom routes

            Assignee:
            Hariharan Parasuraman
            Reporter:
            Martin Stamm
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: