Ash FrameworkAF
Ash Frameworkโ€ข3mo agoโ€ข
27 replies
allenwyma

Upgrade from 3.5.12 to 3.7.6 Broke Calculcation

I'm getting this strange error suddenly:

   Unknown Error

     * ** (MatchError) no match of right hand side value: {:error, "Invalid reference project.client.project.currency"}


I have a calcluation that dispalyed a rate and price with currency like here;

calculations do
    calculate :currency, Plangora.Projects.Currency, expr(project.currency)
    calculate :rate_with_currency, :string, expr(service.rate <> " " <> project.currency)
  end


And this seems to be breaking when I load the calcluation.
Was this page helpful?