Modify

Opened 15 years ago

Last modified 4 years ago

#4511 new defect

Acronym cache is not updating when saving the acronym page (installation with mod_python)

Reported by: zeljko Owned by:
Priority: normal Component: AcronymsPlugin
Severity: normal Keywords: mod_python
Cc: Trac Release: 0.11

Description

When I change AcronymDefinitions and save, new definitions are not active unless I restart Apache.

Refresh definitions on save automatically.

I am using mod_python

Attachments (0)

Change History (4)

comment:1 Changed 13 years ago by Ryan J Ollos

Owner: changed from Alec Thomas to Ryan J Ollos

Not sure how to fix this. Feel free to post a patch.

comment:2 Changed 13 years ago by Ryan J Ollos

Keywords: mod_python added
Summary: Refresh definitions on saveAcronym cache is not updating when saving the acronym page (installation with mod_python)

If you look at the source code, the IWikiChangeListener methods have been implemented to update the acronym cache when the wiki page is changed (or added, deleted or a version is deleted). This works correctly with a stand-alone tracd configuration.

I'm not familiar with mod_python, so I have no idea why the functionality would not work in that case. All I can suggest is trying the latest version of the 0.11 branch.

comment:3 Changed 13 years ago by Ryan J Ollos

Would you kindly retest with Trac at log level debug, and see whether the string Updating acronym database is output to the log when you save the acronyms page?

comment:4 Changed 4 years ago by Ryan J Ollos

Owner: Ryan J Ollos deleted

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The ticket will remain with no owner.

Add Comment


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

 
Note: See TracTickets for help on using tickets.