Details

    • Type: Bug
    • Status: New (View Workflow)
    • Priority: Blocker
    • Resolution: Unresolved
    • Affects Version/s: 5.0
    • Fix Version/s: None
    • Component/s: Search and Indexing
    • Security Level: external (External user)
    • Labels:
      None
    • Security Severity:
      None
    • Triage:
      To Do

      Description

      Using the search (top-right corner of share) does not work for non-admin users and results in blank page.

      Reproduce:

      Log shows following exception:

      Jul 18 10:19:21 alfresco tomcat.service[24918]: 2014-07-18 10:19:21,240  DEBUG [extensions.webscripts.AbstractRuntime] [http-apr-8080-exec-9] Processed script url (GET) /remoteadm/has/alfresco/site-data/components/global.faceted-search.xml in 3.779431ms
      Jul 18 10:19:21 alfresco tomcat.service[24918]: 2014-07-18 10:19:21,245  DEBUG [extensions.webscripts.AbstractRuntime] [http-apr-8080-exec-5] (Runtime=ServletRuntime, Container=Repository) Processing script url (POST) /remoteadm/create/alfresco/site-data/components/global.faceted-search.xml
      Jul 18 10:19:21 alfresco tomcat.service[24918]: 2014-07-18 10:19:21,246  DEBUG [extensions.webscripts.AbstractRuntime] [http-apr-8080-exec-5] Agent: null
      Jul 18 10:19:21 alfresco tomcat.service[24918]: 2014-07-18 10:19:21,246  DEBUG [extensions.webscripts.AbstractRuntime] [http-apr-8080-exec-5] Invoking Web Script org/alfresco/repository/store/remoteadm.post (format [undefined], style: argument, default: null)
      Jul 18 10:19:21 alfresco tomcat.service[24918]: 2014-07-18 10:19:21,260  DEBUG [extensions.webscripts.AbstractRuntime] [http-apr-8080-exec-5] Web Script org/alfresco/repository/store/remoteadm.post executed in 14.662171ms
      Jul 18 10:19:21 alfresco tomcat.service[24918]: 2014-07-18 10:19:21,262  ERROR [extensions.webscripts.AbstractRuntime] [http-apr-8080-exec-5] Exception from executeScript - redirecting to status template error: 06180156 Access Denied.  You do not have the appropriate permissions to perform this operation.
      Jul 18 10:19:21 alfresco tomcat.service[24918]: org.alfresco.repo.security.permissions.AccessDeniedException: 06180156 Access Denied.  You do not have the appropriate permissions to perform this operation.
      Jul 18 10:19:21 alfresco tomcat.service[24918]: at org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:50)
      Jul 18 10:19:21 alfresco tomcat.service[24918]: at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
      Jul 18 10:19:21 alfresco tomcat.service[24918]: at org.alfresco.repo.audit.AuditMethodInterceptor.invoke(AuditMethodInterceptor.java:158)
      Jul 18 10:19:21 alfresco tomcat.service[24918]: at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
      Jul 18 10:19:21 alfresco tomcat.service[24918]: at org.alfresco.repo.model.filefolder.FilenameFilteringInterceptor.invoke(FilenameFilteringInterceptor.java:280)
      Jul 18 10:19:21 alfresco tomcat.service[24918]: at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
      Jul 18 10:19:21 alfresco tomcat.service[24918]: at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
      Jul 18 10:19:21 alfresco tomcat.service[24918]: at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
      Jul 18 10:19:21 alfresco tomcat.service[24918]: at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
      Jul 18 10:19:21 alfresco tomcat.service[24918]: at com.sun.proxy.$Proxy62.create(Unknown Source)
      Jul 18 10:19:21 alfresco tomcat.service[24918]: at org.alfresco.repo.web.scripts.bean.ADMRemoteStore$4.doWork(ADMRemoteStore.java:476)
      Jul 18 10:19:21 alfresco tomcat.service[24918]: at org.alfresco.repo.web.scripts.bean.ADMRemoteStore$4.doWork(ADMRemoteStore.java:455)
      Jul 18 10:19:21 alfresco tomcat.service[24918]: at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:548)
      Jul 18 10:19:21 alfresco tomcat.service[24918]: at org.alfresco.repo.web.scripts.bean.ADMRemoteStore.writeDocument(ADMRemoteStore.java:454)
      Jul 18 10:19:21 alfresco tomcat.service[24918]: at org.alfresco.repo.web.scripts.bean.ADMRemoteStore.createDocument(ADMRemoteStore.java:371)
      Jul 18 10:19:21 alfresco tomcat.service[24918]: at org.alfresco.repo.web.scripts.bean.BaseRemoteStore.execute(BaseRemoteStore.java:302)
      Jul 18 10:19:21 alfresco tomcat.service[24918]: at org.alfresco.repo.web.scripts.RepositoryContainer$3.execute(RepositoryContainer.java:426)
      Jul 18 10:19:21 alfresco tomcat.service[24918]: at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:454)
      Jul 18 10:19:21 alfresco tomcat.service[24918]: at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecute(RepositoryContainer.java:495)
      Jul 18 10:19:21 alfresco tomcat.service[24918]: at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecuteAs(RepositoryContainer.java:563)
      Jul 18 10:19:21 alfresco tomcat.service[24918]: at org.alfresco.repo.web.scripts.RepositoryContainer.executeScript(RepositoryContainer.java:343)
      Jul 18 10:19:21 alfresco tomcat.service[24918]: at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:378)
      Jul 18 10:19:21 alfresco tomcat.service[24918]: at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:209)
      Jul 18 10:19:21 alfresco tomcat.service[24918]: at org.springframework.extensions.webscripts.servlet.WebScriptServlet.service(WebScriptServlet.java:132)
      Jul 18 10:19:21 alfresco tomcat.service[24918]: at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
      Jul 18 10:19:21 alfresco tomcat.service[24918]: at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
      Jul 18 10:19:21 alfresco tomcat.service[24918]: at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
      Jul 18 10:19:21 alfresco tomcat.service[24918]: at org.alfresco.web.app.servlet.GlobalLocalizationFilter.doFilter(GlobalLocalizationFilter.java:61)
      Jul 18 10:19:21 alfresco tomcat.service[24918]: at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
      Jul 18 10:19:21 alfresco tomcat.service[24918]: at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
      Jul 18 10:19:21 alfresco tomcat.service[24918]: at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
      Jul 18 10:19:21 alfresco tomcat.service[24918]: at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
      Jul 18 10:19:21 alfresco tomcat.service[24918]: at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
      Jul 18 10:19:21 alfresco tomcat.service[24918]: at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
      Jul 18 10:19:21 alfresco tomcat.service[24918]: at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
      Jul 18 10:19:21 alfresco tomcat.service[24918]: at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
      Jul 18 10:19:21 alfresco tomcat.service[24918]: at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
      Jul 18 10:19:21 alfresco tomcat.service[24918]: at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
      Jul 18 10:19:21 alfresco tomcat.service[24918]: at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1023)
      Jul 18 10:19:21 alfresco tomcat.service[24918]: at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
      Jul 18 10:19:21 alfresco tomcat.service[24918]: at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1852)
      Jul 18 10:19:21 alfresco tomcat.service[24918]: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      Jul 18 10:19:21 alfresco tomcat.service[24918]: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      Jul 18 10:19:21 alfresco tomcat.service[24918]: at java.lang.Thread.run(Thread.java:744)
      Jul 18 10:19:21 alfresco tomcat.service[24918]: Caused by: net.sf.acegisecurity.AccessDeniedException: Access is denied.
      Jul 18 10:19:21 alfresco tomcat.service[24918]: at net.sf.acegisecurity.vote.AffirmativeBased.decide(AffirmativeBased.java:86)
      Jul 18 10:19:21 alfresco tomcat.service[24918]: at net.sf.acegisecurity.intercept.AbstractSecurityInterceptor.beforeInvocation(AbstractSecurityInterceptor.java:398)
      Jul 18 10:19:21 alfresco tomcat.service[24918]: at net.sf.acegisecurity.intercept.method.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:77)
      Jul 18 10:19:21 alfresco tomcat.service[24918]: at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
      Jul 18 10:19:21 alfresco tomcat.service[24918]: at org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:46)
      Jul 18 10:19:21 alfresco tomcat.service[24918]: ... 43 more
      Jul 18 10:19:21 alfresco tomcat.service[24918]: 2014-07-18 10:19:21,288  DEBUG [extensions.webscripts.AbstractRuntime] [http-apr-8080-exec-5] Force success status header in response: false
      Jul 18 10:19:21 alfresco tomcat.service[24918]: 2014-07-18 10:19:21,288  DEBUG [extensions.webscripts.AbstractRuntime] [http-apr-8080-exec-5] Sending status 500 (Template: /status.ftl)
      Jul 18 10:19:21 alfresco tomcat.service[24918]: 2014-07-18 10:19:21,288  DEBUG [extensions.webscripts.AbstractRuntime] [http-apr-8080-exec-5] Rendering response: content type=text/html
      Jul 18 10:19:21 alfresco tomcat.service[24918]: 2014-07-18 10:19:21,307  DEBUG [extensions.webscripts.AbstractRuntime] [http-apr-8080-exec-5] Processed script url (POST) /remoteadm/create/alfresco/site-data/components/global.faceted-search.xml in 61.590813ms
      Jul 18 10:19:21 alfresco tomcat.service[24918]: 2014-07-18 10:19:21,416  DEBUG [extensions.webscripts.AbstractRuntime] [http-apr-8080-exec-1] (Runtime=ServletRuntime, Container=Repository) Processing script url (GET) /api/admin/usage
      

        Activity

        Hide
        dags David added a comment -

        Hi! What more info do you need? I'm happy to provide it.

        Show
        dags David added a comment - Hi! What more info do you need? I'm happy to provide it.
        Hide
        mnemonic Jan Kuipers added a comment -
        Show
        mnemonic Jan Kuipers added a comment - Looks a duplicate from https://issues.alfresco.com/jira/browse/ALF-21105
        Hide
        dags David added a comment -

        Looks related, but I'm not using ldap, so the solution to remove the ldap groups does not apply to my problem...

        Show
        dags David added a comment - Looks related, but I'm not using ldap, so the solution to remove the ldap groups does not apply to my problem...

          People

          • Assignee:
            dags David
            Reporter:
            dags David
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Date of First Response: