Description
The URLs used to display and edit a drawing can be incorrect if the user switches between different server setups. The URLs are stored as-is in the text_html cache, but not all setup use the same prefix (or use a prefix at all).
Steps to reproduce
Start moin.py (standalone config)
- Create a drawing
Stop moin.py
- Start Apache, with a prefix (typical setup)
- The drawing is not displayed, the link to edit the drawing is incorrect
Example
URL stored in the cache: /AdrienBeau?action=AttachFile&rename=test.png&drawing=test
URL that Apache needs: /test/AdrienBeau?action=AttachFile&rename=test.png&drawing=test
Details
MoinMoin Version |
MoinMoin 1.3.1 |
OS and Version |
Slackware Linux 10.0 |
Python Version |
Python 2.3.4 |
Server Setup |
Typical standalone setup, then typical Apache setup |
Server Details |
(n/a) |
Workaround
- Cleanup the cache directories before switching servers. The cache files will be created automatically when needed.
Discussion
This is not really a bug, just administration issue. I think its enough to document this issue in the help. Check HelpOnAdministration
-- NirSoffer 2004-12-16 03:21:55
This should be fixed in 1.5 as drawings are now treated as dynamic. Please reopne if you still run into problems
Plan
Document this issue in master.
- Priority: Low, rare problem, easy workaround
- Assigned to:
- Status: should be fixed in 1.5