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

[ERROR] invoices#index (ActionView::Template::Error) "Invalid string: {\n \"id\": ... #8465

Closed
gbp opened this issue Nov 22, 2024 · 0 comments · Fixed by #8466
Closed

[ERROR] invoices#index (ActionView::Template::Error) "Invalid string: {\n \"id\": ... #8465

gbp opened this issue Nov 22, 2024 · 0 comments · Fixed by #8466
Labels
bug Breaks expected functionality f:payments professional

Comments

@gbp
Copy link
Member

gbp commented Nov 22, 2024

An ActionView::Template::Error occurred in invoices#index:

  Invalid string: {
  "id": ...k": null
}; must be at most 5000 characters
  app/models/alaveteli_pro/invoice_collection.rb:55:in `invoices'


-------------------------------
Request:
-------------------------------

  * URL        : https://www.whatdotheyknow.com/profile/invoices
  * HTTP Method: GET
  * Parameters : {"controller"=>"alaveteli_pro/invoices", "action"=>"index"}


-------------------------------
Backtrace:
-------------------------------

  app/models/alaveteli_pro/invoice_collection.rb:55:in `invoices'
  app/models/alaveteli_pro/invoice_collection.rb:40:in `each'
  app/models/alaveteli_pro/invoice_collection.rb:26:in `select'
  app/models/alaveteli_pro/invoice_collection.rb:26:in `open'
  app/views/alaveteli_pro/invoices/index.html.erb:15
  app/controllers/application_controller.rb:126:in `record_memory'
  lib/deeply_nested_params.rb:15:in `call'
  lib/strip_empty_sessions.rb:14:in `call'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Breaks expected functionality f:payments professional
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant