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

ActionView::Template::Error: undefined method `name' for nil:NilClass #886

Open
CloCkWeRX opened this issue Aug 11, 2020 · 1 comment
Open
Labels

Comments

@CloCkWeRX
Copy link
Member

CloCkWeRX commented Aug 11, 2020

      - if task.asset_id?
        == #{t :related} #{link_to(task.asset.name, polymorphic_url(task.asset))}
ActionView::Template::Error: undefined method `name' for nil:NilClass
/usr/local/bundle/gems/fat_free_crm-0.18.1/app/views/home/_task.html.haml:12:in `__usr_local_bundle_gems_fat_free_crm________app_views_home__task_html_haml__4217179370288477587_69971166376120'
…le/gems/actionview-5.1.6.2/lib/action_view/template.rb:  157:in `block in render'
…ivesupport-5.1.6.2/lib/active_support/notifications.rb:  166:in `block in instrument'
…1.6.2/lib/active_support/notifications/instrumenter.rb:   21:in `instrument'
…ivesupport-5.1.6.2/lib/active_support/notifications.rb:  166:in `instrument'
…le/gems/actionview-5.1.6.2/lib/action_view/template.rb:  352:in `instrument_render_template'
…le/gems/actionview-5.1.6.2/lib/action_view/template.rb:  155:in `render'
…w-5.1.6.2/lib/action_view/renderer/partial_renderer.rb:  439:in `block in collection_with_template'
…w-5.1.6.2/lib/action_view/renderer/partial_renderer.rb:  435:in `map'
…w-5.1.6.2/lib/action_view/renderer/partial_renderer.rb:  435:in `collection_with_template'
…w-5.1.6.2/lib/action_view/renderer/partial_renderer.rb:  325:in `block(2 levels) in render_collection'
…n_view/renderer/partial_renderer/collection_caching.rb:   13:in `cache_collection_render'
…w-5.1.6.2/lib/action_view/renderer/partial_renderer.rb:  324:in `block in render_collection'
…-5.1.6.2/lib/action_view/renderer/abstract_renderer.rb:   42:in `block in instrument'
…ivesupport-5.1.6.2/lib/active_support/notifications.rb:  166:in `block in instrument'
…1.6.2/lib/active_support/notifications/instrumenter.rb:   21:in `instrument'
…ivesupport-5.1.6.2/lib/active_support/notifications.rb:  166:in `instrument'
…-5.1.6.2/lib/action_view/renderer/abstract_renderer.rb:   41:in `instrument'
…w-5.1.6.2/lib/action_view/renderer/partial_renderer.rb:  317:in `render_collection'
…w-5.1.6.2/lib/action_view/renderer/partial_renderer.rb:  308:in `render'
…ctionview-5.1.6.2/lib/action_view/renderer/renderer.rb:   47:in `render_partial'
…ctionview-5.1.6.2/lib/action_view/renderer/renderer.rb:   21:in `render'
…ew-5.1.6.2/lib/action_view/helpers/rendering_helper.rb:   32:in `render'
…e/gems/haml-5.0.4/lib/haml/helpers/action_view_mods.rb:   12:in `block in render'
  /usr/local/bundle/gems/haml-5.0.4/lib/haml/helpers.rb:   92:in `non_haml'

It's unclear what data is in what state to trigger this

@CloCkWeRX CloCkWeRX added the Bug label May 4, 2021
@Jaskaran2
Copy link

Hi @CloCkWeRX is this issue resolved?

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

No branches or pull requests

2 participants