#1750 closed defect (fixed)
WikiSystem object instanciation and holding page names
Reported by: | Owned by: | Christopher Lenz | |
---|---|---|---|
Priority: | high | Milestone: | 0.9 |
Component: | wiki system | Version: | devel |
Severity: | major | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
On using multi project, WikiSystem class object in trac/wiki/api.py fetch the page names in the project from db only when instanciation. Because the object holds them within other project, as result, wiki page links are rendered as missed page although the page is actually exist.
Attachments (0)
Change History (5)
comment:1 by , 19 years ago
Milestone: | → 0.9 |
---|---|
Owner: | changed from | to
Priority: | normal → high |
Severity: | normal → major |
Status: | new → assigned |
comment:2 by , 19 years ago
Maybe, but there's anyway a problem here, even in the single process case:
the link resolvers are stored in a Formatter class attributes
(Formatter._link_resolvers
),
therefore tying a specific environment to the Formatter,
which is not something one wants to do in a multi-environment setup.
I'm currently fixing that in the InterTrac branch.
comment:3 by , 19 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Fixed in [1977].
(cboos: that's a different issue then. If you have a fix, please apply it to trunk, too.)
Actually, the problem is that notifications about added/removed pages only happen in a single process/interpreter, which is a problem when running under mod_python.