You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jspwiki.apache.org by "Marc Ströbel (JIRA)" <ji...@apache.org> on 2010/10/29 16:34:22 UTC

[jira] Commented: (JSPWIKI-647) Alias redirect doesnt't work if jspwiki.usePageCache is set to false

    [ https://issues.apache.org/jira/browse/JSPWIKI-647?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12926295#action_12926295 ] 

Marc Ströbel commented on JSPWIKI-647:
--------------------------------------

Hi,

looking at the source shows one difference:

CachingProvider calls refreshMetadata in getPageInfo()

public WikiPage getPageInfo( String pageName, int version )
{
    // skipped code
    refreshMetadata( page );

    return page;
}

Coyping the implemetation of refreshMetadata() to FileSystemProvider and calling it at the same position fixes the problem.

Best regards,
Marc

> Alias redirect doesnt't work if jspwiki.usePageCache is set to false
> --------------------------------------------------------------------
>
>                 Key: JSPWIKI-647
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-647
>             Project: JSPWiki
>          Issue Type: Bug
>          Components: Core & storage
>    Affects Versions: 2.8.3
>         Environment: Windows XP, Apache Tomcat 6.0.20
>            Reporter: Marc Ströbel
>
> * set jspwiki.usePageCache = false in jspwiki.properties
> * no redirect to alias page
> * if I set jspwiki.usePageCache = true it works fine

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