Dashboards broken since v6 Rails Liana update

Expected behavior

Before upgrading to v6 our dashboards would show our data.

Actual behavior

Dashboards are broken.


Capture d’écran 2021-06-18 à 09.49.38

Failure Logs

Please provide any relevant information about your setup.

  • Package Version: Forest Liana v6
  • Database Dialect: Postgres
  • Database Version: 11
  • Project Name: Okarito

Hello @remi_okarito,

Can you share more details ?

  • What’s your exact Forest Liana version ?
  • All charts have the same problem ?
  • Can you share your backend logs ?
  • Also can you share one failing request (Network Tab → Request Payload) ?

Morgan

PS: By request payload I mean :arrow_down_small:
image

Hello Morgan,

Forest Liana version: 6.3.8

All charts have the same problem

Failing request:

{"type":"Value","collection":"Payment","aggregate_field":"amount_cents","timezone":"Africa/Abidjan","aggregate":"Sum","filters":"{\"aggregator\":\"and\",\"conditions\":[{\"field\":\"created_at\",\"operator\":\"previous_month_to_date\",\"value\":null},{\"field\":\"status\",\"operator\":\"not_equal\",\"value\":\"initiated\"}]}"}

I’ll check our backend logs and get back to you as well.

Hey @remi_okarito,

Can you try to upgrade to the latest Forest Liana version (v.6.6.2) ? We have been struggling with this security feature and the gem that we use to handle time-zone. The problem has been solved a few weeks ago if I recall.

Really sorry for the inconvenient.
Morgan

1 Like

Ok I’ll have a look. Thanks.
Remi

Let me know if it solve your issue. Thanks in advance. :pray:

Morgan