Closed JorritSalverda closed 2 years ago
I see a negative lookbehind is used at https://github.com/doitintl/bigquery-grafana/blob/master/src/bigquery_query.ts#L389. Perhaps this can be rewritten so it no longer depends on a lookbehind and hence is supported by Safari.
This wasn't an issue before, I see this has been added in commit https://github.com/doitintl/bigquery-grafana/commit/b5f2daf315a4b01f27a307fa9ce2e4e754ae0833. @ofir5300 can you take a look and figure out how to rewrite this into a regular expression that is supported by Safari?
Just downgraded to version 2.0.2
which doesn't have the issue indeed.
Hi @JorritSalverda, the issue is most likely the regex not supported by Safari like you said. Ill handle it to be supported by all browsers, tnx for the catch.
Is there plans to release a new version with the fix shortly? I am trying to decide if I downgrade or wait for a new version and advise coworkers to use Grafana on chrome in the meantime
Well version 2.0.3 was just approved recently, so I can't in that time share time estimation for the next release..
Thanks for replying back!! I will downgrade the version of the plugin for now and keep an eye for the new version release. Have a good day/night
We are retiring the DoiT International BigQuery DataSource plugin for Grafana. We recommend that you migrate to the official Google BigQuery data source maintained by Grafana. In August 2022, we will cease all development and archive the GitHub project.
We are sorry for any inconvenience.
Bug Report
On Chrome on ios - using Safari below the hood - I get the following error when loading the data source on a dashboard or navigating to the Google BigQuery data source in the data sources section of my Grafana setup:
This seems to be related to Safari not supporting lookbehind in regular expressions, see https://stackoverflow.com/questions/51568821/works-in-chrome-but-breaks-in-safari-invalid-regular-expression-invalid-group
Expected Behavior
On Chrome on Mac it works as expected. I'm using plugin version
2.0.3
straight from the Grafana plugins section. Using it with Grafanav8.3.3
.Actual Behavior
Returns the error document above and doesn't render any dashboard using the data source.
Steps to Reproduce the Problem
6.20.4
anddatasources: datasources.yaml: apiVersion: 1 datasources:
version: 2 readOnly: false
Specifications
2.0.3
grafana/grafana:8.3.3
v8.3.3 (30bb7a93ca)