Skip to content

[Watcher UI] Double notifications with license checking #17978

Closed

Description

Original comment by @ycombinator:

When users have a license that does not support Watcher, and they try to navigate to a Watcher UI route, they get redirected to the Management landing page (as expected) but get a double Notifier notification about the license.

Steps to reproduce

  1. Disable Reporting in kibana.yml by setting xpack.reporting.enabled: false. This prevents a polling Reporting XHR call from detecting the change to Basic license, refreshing Kibana, and removing the Watcher link from the Management landing page (as Watcher is not available for the Basic license). Restart the Kibana server.

  2. Install a Basic (development build) license.

  3. Wait for up to 30 seconds for Kibana to pick up the new license change from Elasticsearch. Alternatively, watch the Kibana server log for a message like this:

    server    log   [22:22:15.027] [info][license][xpack] Imported license information from Elasticsearch: mode: basic | status: active | expiry date: 2030-08-29T16:59:59-07:00
    
  4. Open Kibana in your browser and navigate to the Management landing page.

  5. Make sure that there is no Watcher link shown (as Watcher is not available for the Basic license).

  6. Try navigating directly to the Watch List page: http://localhost:5601/app/kibana#/management/elasticsearch/watcher/watches

Observed

The user is redirected back to the Management landing page and two Notifier messages are shown about the basic license not supporting Watcher.

Expected

The user is redirected back to the Management landing page and a single Notifier message is shown about the basic license not supporting Watcher.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Feature:LicenseFeature:WatcherTeam:Kibana ManagementDev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and morebugFixes for quality problems that affect the customer experience

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions