Modify ↓
Opened 15 years ago
Closed 12 years ago
#6835 closed defect (fixed)
Does not track page deletes
Reported by: | Mark Potter | Owned by: | Ryan J Ollos |
---|---|---|---|
Priority: | low | Component: | AutoWikifyPlugin |
Severity: | minor | Keywords: | |
Cc: | Steffen Hoffmann | Trac Release: | 0.11 |
Description
Steps to reproduce:
- The word "Customer" is auto-wikified to the "Customer" page.
- Delete the "Customer" page.
- The word "Customer" is still auto-wikified, but link offers to "Create this page".
Work around: Simply restart Trac.
Attachments (0)
Change History (3)
comment:1 Changed 14 years ago by
comment:2 Changed 12 years ago by
Cc: | Steffen Hoffmann added; anonymous removed |
---|---|
Owner: | changed from Alec Thomas to Ryan J Ollos |
Status: | new → assigned |
Well, it seems there is an error here:
WikiSystem(self.env)._compiled_rules = None
WikiSystem
should replaced with WikiParser
:
WikiParser(self.env)._compiled_rules = None
But, as Alec Thomas noted in acronymsplugin/0.11/tracacronyms/acronyms.py:
# XXX Very ugly, but only "reliable" way? from trac.wiki.parser import WikiParser WikiParser(self.env)._compiled_rules = None
Is there a better way to force WikiParser
to update the rules
? This might be a good question for the mailing list and a possible enhancement request for the Trac core.
comment:3 Changed 12 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
I can confirm in that I've observed this behavior on t-h.o (but can't confirm the restart workaround).