Modify

Opened 8 years ago

Last modified 7 years ago

#4511 new defect

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

Reported by: zeljko Owned by: Ryan J Ollos
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 (3)

comment:1 Changed 7 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 7 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 7 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?

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain Ryan J Ollos.

Add Comment


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

 
Note: See TracTickets for help on using tickets.