Description

Category pages on all wikis within a farm, list the content of the first wiki invoked within a farm (instead of showing the content per wiki).

Steps to reproduce

  1. Have a fresh wiki farm with one wiki at http://wiki/a and one at http://wiki/b .

  2. Clear the cache of all wikis ( moin --config-dir=... --wiki-url=... maint cleancache )
  3. Create a page within a common category in one wiki.
  4. Look up http://wiki/a/CategoryHomepage

    • The page "test" is listed.
  5. Look up http://wiki/b/CategoryHomepage

    • The page "test" is listed, but the page never existed in this wiki.
  6. Clear the cache of all wikis ( moin --config-dir=... --wiki-url=... maint cleancache )
  7. Look up http://wiki/b/CategoryHomepage first.

    • The page "test" is not listed.
  8. Look up http://wiki/a/CategoryHomepage

    • The page "test" is not listed, but it exists and should be in this Category.

Example

Component selection

Details

MoinMoin Version

1.9.2

OS and Version

SunOS sun 5.10 Generic_142901-05 i86pc i386 i86pc

Python Version

2.6.1

Server Setup

Apache 2.2.11

Server Details

mod_wsgi 3.2, mpm_prefork, Xapian 1.0.18

Language you are using the wiki in (set in the browser/UserPreferences)

de

some parts of farmconfig.py:

    page_category_regex = ur'(?P<all>(Kategorie|Category)(?P<key>\S+))'
    xapian_search = True
    xapian_index_history = True
    xapian_stemming = True
    data_underlay_dir = '/srv/www/a-wiki/underlay/' #shared underlay

Workaround

Discussion

How did you build your xapian index?

Hmm, not completely clear yet. Find out whether your wikis share the same xapian_index_dir or the same cache_dir. Also, we likely need your moin config files to investigate that (remove any secrets before posting them here).

Plan


CategoryMoinMoinBug

MoinMoin: MoinMoinBugs/19CategoryInWikiFarm (last edited 2010-07-01 00:29:52 by p5B175F22)