Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Ticket #2312 (closed defect: fixed)

Opened 10 years ago

Last modified 10 years ago

[PATCH] sidebars.html causes a server error if the page variable is not defined

Reported by: bmonty Owned by: mramm
Priority: normal Milestone: 2.0
Component: TurboGears Version: trunk
Severity: normal Keywords:
Cc:

Description

When using the sidebars.html template included in a quickstarted TG2 project, if the variable 'page' is not included in the dictionary returned by the controller, sidebars.html will throw:

UndefinedError: "page" not defined

Attachments

sidebars.html.patch Download (947 bytes) - added by bmonty 10 years ago.

Change History

comment:1 Changed 10 years ago by bmonty

  • Version changed from 2.0b7 to 2.0rc1

Changed 10 years ago by bmonty

comment:2 Changed 10 years ago by bmonty

  • Version changed from 2.0rc1 to trunk
  • Summary changed from sidebars.html causes a server error if the page variable is not defined to [PATCH] sidebars.html causes a server error if the page variable is not defined

Fixed the patch to follow the guidelines in the wiki.

comment:3 Changed 10 years ago by mramm

  • Status changed from new to assigned
  • Owner set to mramm
  • Milestone set to 2.0

comment:4 Changed 10 years ago by mramm

Fixed in r6560

comment:5 Changed 10 years ago by percious

fixed in r6569 for in trunk of tg.devtools.

comment:6 Changed 10 years ago by percious

  • Status changed from assigned to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.