Ticket #435 (closed defect: duplicate)

Opened 11 months ago

Last modified 10 months ago

[PATCH] make InlinePartialMixin raise TemplateNotFound if no template was found

Reported by: siebertm..@googlemail.com Assigned to: somebody
Priority: medium Milestone: The Future
Component: Views Keywords:
Cc:

Description

When InlinePartial#partial? did not find a matching partial, it raised a NoMethodError? on nil which did not explain anything. This behaviour is changed with this patch, it now acts like the original partial or render would.

Attachments

inline_partial_raise_template_not_found.diff (0.6 kB) - added by siebertm..@googlemail.com on 01/10/08 08:57:32.
inline_partial_raise_template_not_found_spec.diff (1.0 kB) - added by siebertm..@googlemail.com on 01/10/08 10:51:52.

Change History

01/10/08 08:57:32 changed by siebertm..@googlemail.com

  • attachment inline_partial_raise_template_not_found.diff added.

01/10/08 10:51:52 changed by siebertm..@googlemail.com

  • attachment inline_partial_raise_template_not_found_spec.diff added.

01/10/08 10:52:38 changed by siebertm..@googlemail.com

wycats fixed the bug in trunk. the spec probably needs to be applied

02/11/08 13:01:45 changed by shayarne..@gmail.com

  • status changed from new to closed.
  • resolution set to duplicate.