Skip to content

Y24-293 - [BUG] Exception 29/08/2024 at 09:36 #461

@StephenHulme

Description

@StephenHulme

Email subject line

[Psd-exceptions] [SM Workflow PRODUCTION] batches#show (ActionView::Template::Error) "undefined method `assets' for nil:NilClass"

Error body

An ActionView::Template::Error occurred in batches#show:

  undefined method `assets' for nil:NilClass
  app/presenters/batch_presenter/show.rb:81:in `num_assets'

Acceptance Criteria

  • Look into this exception and fix the code to handle the exception sensibly.
  • Document the root cause and solution in a comment on this issue.

Additional information

The id of the user who triggered this error is often shown in the exception email, in case you need to communicate with them.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions