Skip to content
This repository has been archived by the owner on Dec 11, 2022. It is now read-only.

Annotation are throwing an error when hovered #207

Closed
alelievr opened this issue Feb 19, 2020 · 0 comments
Closed

Annotation are throwing an error when hovered #207

alelievr opened this issue Feb 19, 2020 · 0 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@alelievr
Copy link

Bug Report

When writing annotation query using google bigquery datasource, the tooltip of the annotation is not showing and an error is thrown in the console:
BigQueryAnnotation

Here's the error:

angular.js:14800 TypeError: l.replace is not a function
    at Object.link (reducers.ts:24)
    at angular.js:1383
    at angular.js:10613
    at jt (angular.js:10619)
    at it (angular.js:10008)
    at angular.js:9248
    at angular.js:9251
    at angular.js:9113
    at jquery.flot.events.ts:83
    at Object.invoke (angular.js:5106) "<annotation-tooltip event="event" on-edit="onEdit()">"

Here's my annotation query:

SELECT `created_timestamp` AS time, CAST (`platform`AS String ) AS tags,
`id`, `versions_count` as text FROM `midyear-choir-151316.Test.ts`
WHERE `created_timestamp` BETWEEN TIMESTAMP_MILLIS ($__from) AND TIMESTAMP_MILLIS ($__to)
ORDER BY 1,2 LIMIT 1280

Expected Behavior

The annotation tooltip should be showing

Actual Behavior

The annotation stays hidden and there is an error in the console

Steps to Reproduce the Problem

  1. Create an annotation query using bigquery
  2. hover the annotation to display the tooltip
  3. Notice that the tooltip stays hidden.

Specifications

  • Version: 1.0.5
  • Platform: web (chrome)
  • Grafana Version: v6.6.1 (21bf8b71bc)
@avivl avivl self-assigned this Feb 23, 2020
@avivl avivl added this to the 1.0.6 milestone Feb 23, 2020
@avivl avivl closed this as completed in b7b1f8d Feb 23, 2020
avivl added a commit that referenced this issue Feb 23, 2020
@avivl avivl added the bug Something isn't working label Feb 23, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants