Issue #3660 has been reported by Stefan Goethals.
----------------------------------------
Bug #3660: undefined method `name' for nil:NilClass - in
app/views/timeline_events/_timeline_event.haml
http://projects.puppetlabs.com/issues/3660
Author: Stefan Goethals
Status: Unreviewed
Priority: Normal
Assigned to:
Category:
Target version:
Keywords:
Branch:
When deleting a parameter (making the fields empty) in a node you get the
following error:
NoMethodError in Nodes#show
Showing app/views/timeline_events/_timeline_event.haml where line #3 raised:
undefined method `name' for nil:NilClass
Extracted source (around line #3):
1: - te = timeline_event
2: - is_current = @node && te.subject == @node
3: - subject = is_current ? "This node" : te.subject.name
4:
5: %li{:class => te.object_type}
6: = link_to_unless is_current || te.secondary_subject_type, subject,
te.subject
This is caused by the timeline trying to show the name of the object the action
happened on but the object does not exist any more.
--
You have received this notification because you have either subscribed to it,
or are involved in it.
To change your notification preferences, please click here:
http://projects.puppetlabs.com/my/account
--
You received this message because you are subscribed to the Google Groups
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-bugs?hl=en.