Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Dashboard filters sends filter value as string ( regression of #3816 ? ) #7115

Closed
valtlfelipe opened this issue Mar 13, 2018 · 2 comments
Assignees
Labels
Database/Postgres Querying/Parameters & Variables Filter widgets, field filters, variables etc. Type:Bug Product defects
Milestone

Comments

@valtlfelipe
Copy link
Contributor

  • Your browser and the version:
    Chrome 65.0.3325.146

  • Your operating system:
    macOS 10.12.6

  • Your databases:
    PostgreSQL 9.5.10

  • Metabase version:
    Latest 0.28.1

  • Metabase hosting environment:
    Elastic Beanstalk

  • Metabase internal database:
    PostgreSQL 9.6.6

  • Repeatable steps to reproduce the issue

  1. Create a question and add it to a dashboard
  2. Add dashboard filter that filters by a numeric column (doesn't matter if it's a PK or category)
  3. Enter filter value (default or user entry - doesn't matter)

Expected: updated, filtered values
Actual: There was a problem displaying this chart.
Error: ERROR: operator does not exist: bigint = character varying↵ Hint: No operator matches the given name and argument type(s). You might need to add explicit type casts.

Payload:

{"parameters":[{"type":"id","target":["dimension",["fk->",42,209]],"value":"532"}]}

Stack trace:

@camsaul
Copy link
Member

camsaul commented Mar 29, 2018

Fixed by #7232

@camsaul camsaul closed this as completed Mar 29, 2018
@salsakran
Copy link
Contributor

Fixed in 0.28.4 which just went out. @valtlfelipe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Database/Postgres Querying/Parameters & Variables Filter widgets, field filters, variables etc. Type:Bug Product defects
Projects
None yet
Development

No branches or pull requests

3 participants