incubator-jspwiki-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Harry Metske (JIRA)" <j...@apache.org>
Subject [jira] Updated: (JSPWIKI-328) PageRenamer doesnt handle pagelinks with blanks properly
Date Fri, 08 Aug 2008 17:15:44 GMT

     [ https://issues.apache.org/jira/browse/JSPWIKI-328?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Harry Metske updated JSPWIKI-328:
---------------------------------

    Summary: PageRenamer doesnt handle pagelinks with blanks properly  (was: refferers bug)

I did some testing/debugging on this, and I think the behavior is caused by PageRenamer.
(that's why I changed the title from "referrers bug" to this new one.)
If the pagelink on the referring page contains blanks, the PageRenamer doesn't change it.
I made a local change by leaving out the if statement at line 367  ( if( reallink.equals(from)
) ), but I then the links are stripped from their blanks, although the links then do point
to the proper page.

Maybe Janne can have a look at PageRenamer, his favorite subject :-) 

> PageRenamer doesnt handle pagelinks with blanks properly
> --------------------------------------------------------
>
>                 Key: JSPWIKI-328
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-328
>             Project: JSPWiki
>          Issue Type: Bug
>          Components: Core & storage, Plugins
>    Affects Versions: 2.6.3
>         Environment: Debian, GLASSFISH v2
>            Reporter: Konstantin
>            Priority: Minor
>
> How to reproduce:
> 1.  Create page [mytest]
> 2. In "mytest" create 2 pages:
> * [AB]
> * [A B]
>  (We can see, that both links points to the same page.)
> 3. Go to the "AB", enter some content, save page.
> 4. In the "AB" page:
> go to the "Info" and rename page to "ABC" ( Update referrers - "yes")
> Here we go! We have a new page "ABC", but "A B" didn't changed.
> I think, this is a bug.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message