Modify

Opened 6 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: rjollos
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 4 years ago by rjollos

  • Owner changed from athomas to rjollos

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

comment:2 Changed 4 years ago by rjollos

  • Keywords mod_python added
  • Summary changed from Refresh definitions on save to Acronym 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 4 years ago by rjollos

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?

Add Comment

Modify Ticket

Action
as new .
Author


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

 
Note: See TracTickets for help on using tickets.