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

NameError happened in GobiertoBudgets::GenerateAnnualLinesJob#perform #3955

Closed
appsignal bot opened this issue Oct 6, 2021 · 2 comments
Closed

NameError happened in GobiertoBudgets::GenerateAnnualLinesJob#perform #3955

appsignal bot opened this issue Oct 6, 2021 · 2 comments
Assignees

Comments

@appsignal
Copy link

appsignal bot commented Oct 6, 2021

Message

  undefined local variable or method `decomposition_type' for #<GobiertoBudgets::BudgetLineExportPresenter:0x000055b151124b18>

Backtrace (last 10 lines)

app/presenters/gobierto_budgets/budget_line_presenter.rb:50 area_code
app/presenters/gobierto_budgets/budget_line_presenter.rb:44 id
app/models/gobierto_budgets/data/annual.rb:99 block (2 levels) in merge_budget_lines
app/models/gobierto_budgets/data/annual.rb:99 index
app/models/gobierto_budgets/data/annual.rb:99 block in merge_budget_lines
app/models/gobierto_budgets/data/annual.rb:98 each
app/models/gobierto_budgets/data/annual.rb:98 merge_budget_lines
app/models/gobierto_budgets/data/annual.rb:69 block (3 levels) in calculate_organization_budget_lines
app/models/gobierto_budgets/data/annual.rb:59 each
app/models/gobierto_budgets/data/annual.rb:59 block (2 levels) in calculate_organization_budget_lines

View on AppSignal: https://appsignal.com/populate/sites/5eb0fcfc74782044d1198606/exceptions/incidents/258?timestamp=2021-10-06T12:49:28Z

@ferblape
Copy link
Member

ferblape commented Oct 6, 2021

Might be related with #3950

@entantoencuanto
Copy link
Member

entantoencuanto commented Oct 6, 2021

It seems that the origin of the error was a wrong merge in staging of #3909. There was a conflict on the budgets presenter that I resolved removing a method by error. So I think the error has affected only staging. I've corrected it directly there (ef44945)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants