Ticket #193 (closed defect: fixed)

Opened 22 months ago

Last modified 22 months ago

page_msg concept are broken... Must be lazy...

Reported by: JensDiemer Owned by: JensDiemer
Priority: blocker Milestone: v0.8.5
Component: system Keywords:
Cc:

Description

I found a very bad thing about the self.page_msg: After the template engine has render the message template tag into the page, there can't be added new messages :( That's logical, isn't it?

I found the bug, because i used self.page_msg() in the back_links() plugin and i can't see the messages in the page...

Solution: The page_msg must be lazy rendered. It must be went into a middleware.

Attachments

page_msg_patch_not_complete1.txt Download (27.7 KB) - added by JensDiemer 22 months ago.
not complete page_msg refactory

Change History

Changed 22 months ago by JensDiemer

not complete page_msg refactory

Changed 22 months ago by JensDiemer

  • status changed from new to closed
  • resolution set to fixed

done in changeset:1585 new system used a middleware.

Update info here: http://www.pylucid.org/_goto/121/changes/#20-05-2008-page_msg

Note: See TracTickets for help on using tickets.