Description

After upgrading a release 1.2.3 to 1.3beta5 my TableOfContents macro is not expanded, just a empty line is shown. I have successfully been upgrading with all the 5 migrate scripts.

The problem is proberly only occur on Windows. I am running WindowsXP, python 2.3.

When I edit the page (any edit, e.g. deleting a empty line), the TableOfContents macro is expanded.

When comparing the two revistion files 00000012 and 00000013 the only difference (except the line I was deleting) is the line separator. The file 00000012 has CRLF ending, and the new file 00000013 has LF ending.

To confirm the problem, I have did run a u2d (unix2dos program) on the 00000013 file, and refreshed the cache. The the problem reoccur (the table of content macro was not expaned).

I have only seen the problem with the TableOfConents macro, some other macro like StatsChart, Vote, FullSearch do work.

Details

MoinMoin Version

1.3beta5

OS and Version

Windows XP Pro, SP2

Python Version

2.3.4

Server Setup and Version

Twisted

Browser

Firefox 1.0 and IE 6.0

Workaround

Run a d2u (dos2unix) on all revision files. Or edit all pages where you have the problem.

Discussion

Plan


CategoryMoinMoinBugFixed

MoinMoin: MoinMoinBugs/TableOfContentsMacroIsNotExpandedAfterUpgrade (last edited 2007-10-29 19:13:34 by localhost)