Code

Opened 8 years ago

Closed 8 years ago

Last modified 7 years ago

#1396 closed defect (fixed)

[magic-removal][patch] Not checking for silent_variable_failure in related object lookups

Reported by: Max Battcher <me@…> Owned by: russellm
Component: Template system Version: magic-removal
Severity: normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

As of r2384 of magic-removal: resolve_variable in django.template was not checking for silent_variable_failure in attribute lookup, which is the post-Descriptor way of getting Related Objects.

Attachments (1)

relatedobject.patch (744 bytes) - added by Max Battcher <me@…> 8 years ago.
Patch

Download all attachments as: .zip

Change History (4)

Changed 8 years ago by Max Battcher <me@…>

Patch

comment:1 Changed 8 years ago by Max Battcher <me@…>

  • Summary changed from Not checking for silent_variable_failure in related object lookups to [magic-removal][patch] Not checking for silent_variable_failure in related object lookups

Make it obvious what it refers to and that I attached a patch.

comment:2 Changed 8 years ago by russellm

  • Owner changed from adrian to russellm

comment:3 Changed 8 years ago by russellm

  • Resolution set to fixed
  • Status changed from new to closed

(In [2604]) magic-removal: Fixes #1396 -- Added exception handler (and silent_variable_failure check) for edge case in descriptor lookup.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.