Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-897

Search does not work in author mode

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Major
    • None
    • 2.1.5
    • core
    • None
    • WinXP, jdk1.5.0_06, tomcat5.5, magnolia2.1.6

    Description

      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);

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              pbaerfuss Philipp Bärfuss
              fleka Stojan Peshov
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Bug DoR
                  Task DoD