You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jspwiki.apache.org by "Konstantin (JIRA)" <ji...@apache.org> on 2008/08/01 08:40:31 UTC

[jira] Created: (JSPWIKI-328) refferers bug

refferers bug
-------------

                 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 point 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 thing, 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.


[jira] Updated: (JSPWIKI-328) PageRenamer doesnt handle pagelinks with blanks properly

Posted by "Harry Metske (JIRA)" <ji...@apache.org>.
     [ 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.


[jira] Updated: (JSPWIKI-328) PageRenamer doesnt handle pagelinks with blanks properly

Posted by "Janne Jalkanen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JSPWIKI-328?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Janne Jalkanen updated JSPWIKI-328:
-----------------------------------

    Fix Version/s: 2.8
         Assignee: Janne Jalkanen

The expected result is actually [A B|ABC].  There is a failing unit test for this already.

> 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
>            Assignee: Janne Jalkanen
>            Priority: Minor
>             Fix For: 2.8
>
>
> 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.


[jira] Updated: (JSPWIKI-328) refferers bug

Posted by "Konstantin (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JSPWIKI-328?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Konstantin updated JSPWIKI-328:
-------------------------------

    Description: 
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.

  was:
How to reproduce:
1.  Create page [mytest]
2. In "mytest" create 2 pages:
* [AB]
* [A B]

 (We can see, that both links point 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 thing, this is a bug.


> refferers bug
> -------------
>
>                 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.


[jira] Resolved: (JSPWIKI-328) PageRenamer doesnt handle pagelinks with blanks properly

Posted by "Harry Metske (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JSPWIKI-328?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Harry Metske resolved JSPWIKI-328.
----------------------------------

    Resolution: Fixed

Fixed in 2.7.0-alpha-17

Still we need some improvements in PageRenamer.....

> 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
>            Assignee: Janne Jalkanen
>            Priority: Minor
>             Fix For: 2.8
>
>
> 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.