Description

When i use backslash "\" in a moinmoin Title, as an error for e.i. "Instituciones/Comercios/Librerias/Papelera Marano" instead of Instituciones\Comercios\Librerias\Papelera Marano. Then it produce a false result in search of "Marano".

Cleaner:

What I Did : Rename a WikiPage: SomePage/FooDog to SomePage\FooDog.

What I Expected: Page SomePage/FooDog Renamed to SomePage\FooDog

What I Got:

An plus when i search FooDog /Test\Page is showed. - not clear what was your search and what was the result of the search. >> search for "FooDog" word trigger this error.

Try in this wiki:

  1. Create the page MoinMoinBugs/BackSlashInTitleProduceBug/TestPage - creation ok

  2. Rename it to MoinMoinBugs/BackSlashInTitleProduceBug\TestPage - rename ok

  3. Visit MoinMoinBugs/BackSlashInTitleProduceBug\TestPage - page exists

  4. Search for TestPage - page found >>> This can't be reproduced here, i think this server is v.1.6 and even, it does not run on WOS :)

Steps to reproduce

  1. Rename an existing article introducing "\" instead of "/".
  2. Search for it

Example

screenshot.jpg

Component selection

Details

MoinMoin Version

1.5.8 [RevisiĆ³n release]

OS and Version

Windows XP SP2

Python Version

2.5.1

Server Setup

Using WOS v.2.1.1 (Web Server On Stick)

Server Details

Athlon 64 2800+ 512MB

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

Spanish

Workaround

Dont write "\" when renaming self-titles ie: "Test\Page" TO "Test/Page"

Discussion

Cannot reproduce in this wiki. I just created /Test\Page and searched for it, and I don't see any problem.

Let me see: /Test/Page

I tried in my wiki and reproduce the bug, i created page:"THIS/BUG" then renamed it to "THIS\BUG" and /Test/Page ERROR appears, now i CANNOT search "this" either "bug" without receiving /Test/Page Error. I Found a way to RESTORE search capability of that blocked terms and is manually deleting the directory created.

May be check on your wiki the version with calling SystemInfo and tell it us. Thats an important missing information of your bug report. And if its an older one as 1.5.8 then may be you do want to update your wiki to the actual version. -- ReimarBauer 2007-10-06 14:48:13

Thanks! I Check my moinmoin version and it is 1.5.7 [RevisiĆ³n release] i Will upgrade it and check again, thanks a lot I love this wiki :D. --CapoteWalter 2024-04-28 08:32:01

\TestPage also works as expected - like any other name.

/!\ Bug description is completely unclear. Add what you did exactly, add what you expected, add what you got.

Maybe WOS has trouble with "\" in a url. When you rename "A/B" to "A\B", the new name is passed through the form, and the rename probably succeed (the reporter did not say anything about an error). But when trying to access "A\B", maybe the server replace the "\" and the page is not accessible.

I have been doing some testing, have updated to MoinMoin 1.5.8 and Python 2.5.1 error still is the same, if i do the test on MMDE it does not give any errors, so maybe WOS has some trouble with "\", i dunno how to verify that, but i can live with this. THANKS A LOT for your patience. This is *very* good support :) -- Destino 2007-10-14 01:50:35

Plan


CategoryMoinMoinBug

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