Uploaded image for project: 'Percona Monitoring and Management'
  1. Percona Monitoring and Management
  2. PMM-5062

\ufeff will add to PromQL Query when deleting characters

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: On Hold
    • Priority: Medium
    • Resolution: Unresolved
    • Affects Version/s: 2.1.0
    • Fix Version/s: None
    • Component/s: PMM Server
    • Labels:

      Description

      version & environment:

       ```bash

      docker run -d \
      --name pmm2-server \
      --restart always \
      -p 80:80 \
      -p 443:443 \
      -e DISABLE_UPDATES=true \
      percona/pmm-server:2.1.0

      ```

      Reproduce procedure:

      1. Log in the pmm2 grafana

      2. Create a new dashboard

      3. click Add Query

      4. Type "rate" and click query inspector, the status of query is success now

      5. Type ( and delete it by hitting backspace, now, the status of query is error, the error message is "parse error at char 5: could not parse remaining input "\ufeff"..."

       

        Smart Checklist

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                Unassigned
                Reporter:
                c781022 Chen Min
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:

                    Time Tracking

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - Not Specified
                    Not Specified
                    Logged:
                    Time Spent - 35 minutes
                    35m