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

ASF subversion and git services commented on JSPWIKI-647:
---------------------------------------------------------

Commit d28127ee8f9fca3eed3954044653e924befb5813 in jspwiki's branch 
refs/heads/master from Arturo Bernal
[ https://gitbox.apache.org/repos/asf?p=jspwiki.git;h=d28127ee8 ]

JSPWIKI-647 Resolve page aliases when the page cache is disabled

The alias and redirect attributes are set while parsing, and only 
CachingProvider parsed a page it had just fetched. Without the page cache 
WikiContext#getRedirectURL() found no alias, so the redirect never happened. It 
now parses the page for its metadata when it has none.


> 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
>            Priority: Major
>              Labels: pull-request-available
>
> * set jspwiki.usePageCache = false in jspwiki.properties
> * no redirect to alias page
> * if I set jspwiki.usePageCache = true it works fine



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to