aniltimt / substruct

Automatically exported from code.google.com/p/substruct
http://code.google.com/p/substruct
6 stars 0 forks source link

On checkout the system break on undefined local variable (related with issue 70) #116

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Go to checkout.

What is the expected output? What do you see instead?
It should show the page. Instead it breaks saying that "show_obsolete" is
not defined.

What version of the product are you using? On what operating system?
trunk. Ubuntu 7.10

Please provide any additional information below.
Well, it really isn't defined, in the issue 70 I only passed the local
variable when it was true, so it is breaking when false, when trying to
render the address partial without the variable being defined.

Theres more than a way to fix that, or verifying if it is defined or doing
what I did, assigning a default value if not defined.

Follows a patch.

Original issue reported on code.google.com by edmundo...@gmail.com on 15 Aug 2008 at 4:43

Attachments:

GoogleCodeExporter commented 9 years ago
Fixed r123

Original comment by subim...@gmail.com on 16 Aug 2008 at 3:53