[
http://jira.magnolia.info/browse/MAGNOLIA-897?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jan Haderka resolved MAGNOLIA-897.
----------------------------------
Resolution: Won't Fix
2.x versions are not supported anymore.
> Search does not work in author mode
> -----------------------------------
>
> Key: MAGNOLIA-897
> URL: http://jira.magnolia.info/browse/MAGNOLIA-897
> Project: Magnolia
> Issue Type: Bug
> Components: core
> Affects Versions: 2.1.5
> Environment: WinXP, jdk1.5.0_06, tomcat5.5, magnolia2.1.6
> Reporter: Stojan Peshov
> Assignee: Philipp Bracher
>
> The problem is on the 2.1.6 only, and it's because of this lines from
> QueryResultImpl:
> boolean isAllowed = !SecureURI.isProtected(path);
> if (this.accessManager != null) {
> this.accessManager.isGranted(path, Permission.READ);
> }
> if (isAllowed) {
> collection.add(new Content(node, this.accessManager));
> this.dirtyHandles.put(node.getPath(), StringUtils.EMPTY);
> }
> when in author mode isAllowed is always false
> this is the solution:
> isAllowed = this.accessManager.isGranted(path,
> Permission.READ);
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.magnolia.info/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/
----------------------------------------------------------------