Description

Describe the bug...

Steps to reproduce

  1. Migrate the wiki from 1.5.2 to 1.5.3 then to 1.9.2
  2. configure moin.wsgi and wikiconfig.py for 1.9.2
  3. The main difference between the 1.5.2 wikiconfig.py and the 1.9.2 wikiconfig.py is that in 1.5.2, page_front_page = u"My Wiki Page". In 1.9.2, page_front_page = u"My_Wiki_Page"
  4. Run bin/moin <wiki>

  5. Rename rename1.txt to rename2.txt
  6. Run bin/moin <wiki> again

  7. Informed that migration is successful
  8. Originally, the front page was "My Wiki Page", now it is "My_Wiki_Page". The wiki loads with "My_Wiki_Page"; but when I try to edit the page, the wiki tries to create a new page: Edit "MyWikiPage"

Example

Component selection

Details

There do not appear to be any unusual entries in the Apache log file.

When I try to edit the page, it looks like moinmoin is trying to find the page: "MyWikiPage" rather than "My_Wiki_Page"

Sorry, no traceback, this happens when loading from a browser.

MoinMoin Version

1.9.2

OS and Version

x86-solaris2.10

Python Version

2.5.4

Server Setup

apache2.2.10

Server Details

gpu

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

en

Workaround

Discussion

the described procedure was to edit rename1.txt and rename it to rename2.txt. In that step you were able to rename your page and attachment names to the name you wanted to use in the next migration step.

I can't reproduce it in the desktop edition, by setting the name page_front_page = u"My_Wiki_Page". By clicking on the logo I can create exactly this pagename.

I cannot access "My_Wiki_Page" when I click on the logo from the front page. "My_Wiki_Page" is also not found when I click on the title (appears below the "login" link) or the tab indicating the name of the page (next to "HelpContents"). All three links attempt to find a page named "MyWikiPage" rather than "My_Wiki_Page". The only way I can access "My_Wiki_Page" from a browser is when the Wiki loads Prior to the migration, should I rename the page?

I do not have a page named "My Wiki Page" as far as I can tell. I have directly entered "My Wiki Page" in the URL. Also, there is no such directory under data/pages, but there is a data/pages/My_Wiki_Page directory. The name of each page does not appear to have always matched with its directory name. In version 1.5.2, for this page in particular, it was located under data/pages/My_Wiki_Page, but the page title was "My Wiki Page". I thought that the the rename2.txt file would take care of that for the migration?

Yes, I read that 1.5.2 did some magic to the pages and that the "rename.txt" file should fix this. I don't have any problems with the title of the page being changed, but I think moinmoin might? My top priority is to perform the migration without having to change any of the URLs, so the exact name of the page title doesn't matter all that much to me. I have included screen shots comparing 1.5.2 to what we got from the migration to 1.9.2. The files prefixed with 1.5.2 are the originals and are working fine. When I try to edit the "QA Automation and Tools Group", there are no problems. But for the 1.9.2 upgraded version, I run into a problem when I try to edit "QA_Automation_and_Tools_Group". Please see "1.9.2_QAAutomation_edit.jpg"

I just ran a test migration from 1.5.3 to 1.8.4 and got the same error, so apparently any migration will cause this issue. Why does moin try to server "My Wiki Page" when a URL request for "/My_Wiki_Page" comes in? Can I change that somewhere?

Suggestions? Has anyone taken a look at the attached images?

I have played around some more with that page, attempting to rename it. I was able to change its name from "QAAutomationandToolsGroup" to "QA Automation and Tool Group", but when I tried to change it to "QA_Automation_and_Tools_Group", the page title showed up as "QAAutomationandToolsGroup". Why is that?

Plan


CategoryMoinMoinBug

MoinMoin: MoinMoinBugs/Tries to Create New Page when Editing (last edited 2010-04-17 02:01:00 by 209)