Description

The editor-help section of the page-editor is not updated in cache when the url_prefix variable is changed in wikiconfig.py. The result is a broken link to idea.png.

Steps to reproduce

(assuming your wiki has been used before, i.e. pages have been edited and the cache exists)

  1. edit your wikiconfig.py and change url_prefix to something non-existant

  2. open your wiki in a browser (maybe hit reload to be sure). because of missing stylesheets, it will look pretty broken
  3. edit a page of your choice anyway
  4. notice the still existing idea.png image in the editor-help section

  5. check the location it points to and find out that it's still the old (working) prefix

or, alternatively:

  1. delete your wiki's cache or set up a new wiki
  2. set url_prefix to something non-existant

  3. open a wikipage of your choice in edit-mode
  4. restore url_prefix to the original (working) value

  5. open a page in edit-mode again
  6. notice that everything will look fine - except that there's no idea.png

Example

Component selection

Details

MoinMoin Version

Version 1.5.7 [Revision release]

OS and Version

SuSE Linux 9.2

Python Version

2.5 (r25:51908, Oct 9 2006, 11:20:13) [GCC 3.3.4 (pre 3.3.5 20040809)]

Server Setup

Server Details

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

English

Workaround

delete the wiki's cache manually after changing the prefix

Discussion

Duplication of MoinMoinBugs/CacheFileRecordsOldUrl

Thats the behaviour of cache. You have to remove it if you change the url prefix. e.g. moin --config-dir=/usr/share/moin/mywiki  --wiki-url=localhost/mywiki  maint cleancache

-- ReimarBauer 2007-05-06 17:25:44

Please do reopen this report as a FeatureRequest and share ideas how it could be solved if you don't agree closing it.

See also MoinMoinBugs/i18nCacheNotUpdatedOnUrlPrefixChange

-- piyo 2007-06-19 06:40:16

Plan


CategoryMoinMoinNoBug

MoinMoin: MoinMoinBugs/EditorHelpCacheNotUpdatedOnUrlPrefixChange (last edited 2007-10-29 19:19:53 by localhost)