-
Type:
Bug
-
Status: Done
-
Resolution: Done
-
Affects Version/s: RM 2.2, RM 2.3, RM 2.4
-
Fix Version/s: RM 2.4.1
-
Component/s: File Protocols
-
Labels:
-
Environment:Alfresco Enterprise v4.1.1 (b159 latest) + RM Module v2.0.1 (b124); QALAB Stack 2 - Windows Server 2008 R2 x64, Oracle 10g v10.2.0.5, Ojdbc6.jar use 'jdbc:oracle:thin' in db_url, JBoss 5.1.1 EAP, JDK 6 U33 X64, NTLM with SSO, Clustering Schema 1; Client: IE9, Windows 7, Windows Explorer as WebDAV client.Alfresco Enterprise v4.1.1 (b159 latest) + RM Module v2.0.1 (b124); QALAB Stack 2 - Windows Server 2008 R2 x64, Oracle 10g v10.2.0.5, Ojdbc6.jar use 'jdbc:oracle:thin' in db_url, JBoss 5.1.1 EAP, JDK 6 U33 X64, NTLM with SSO, Clustering Schema 1; Client: IE9, Windows 7, Windows Explorer as WebDAV client.
-
Bug Priority:
-
Sprint:RM Sprint 26, Flamebird 9 - The Leader, Flamebird 10 - Apocalypse
-
Story Points:3
Steps to reproduce:
1. Log on the Share as admin user;
2. Create RM site;
3. Create any category, e.g. webdav;
4. Create any folder under the category, e.g. f1;
5. Map WebDAV connection from a client machine (using 'Map network drive' action) to http://172.30.40.148:8080/alfresco/webdav as admin user;
6. Open the RM site > webdav > f1 directory;
7. Try to upload any unempty document to the directory, e.g. cifs-B.txt.
Result: An error occurs (the screenshot and the log are attached):
17:29:01,566 INFO [STDOUT] 2012-10-16 17:29:01,565 ERROR [alfresco.webdav.protocol] [http-0.0.0.0-8080-4] java.io.PrintWriter@304998b3 HTTP Status Code: 403 caused by: org.alfresco.repo.security.permissions.AccessDeniedException: 091643079 Access Denied. You do not have the appropriate permissions to perform this operation. at org.alfresco.repo.webdav.WebDAVMethod.execute(WebDAVMethod.java:349) at org.alfresco.repo.webdav.WebDAVServlet.service(WebDAVServlet.java:139) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.alfresco.repo.webdav.auth.BaseSSOAuthenticationFilter.doFilter(BaseSSOAuthenticationFilter.java:136) at sun.reflect.GeneratedMethodAccessor954.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.alfresco.repo.management.subsystems.ChainingSubsystemProxyFactory$1.invoke(ChainingSubsystemProxyFactory.java:103) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) at $Proxy503.doFilter(Unknown Source) at org.alfresco.repo.web.filter.beans.BeanProxyFilter.doFilter(BeanProxyFilter.java:82) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.alfresco.web.app.servlet.GlobalLocalizationFilter.doFilter(GlobalLocalizationFilter.java:61) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:183) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:95) at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126) at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:599) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:451) at java.lang.Thread.run(Thread.java:662) Caused by: org.alfresco.repo.security.permissions.AccessDeniedException: 091643079 Access Denied. You do not have the appropriate permissions to perform this operation. at org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:50) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.alfresco.repo.audit.AuditMethodInterceptor.proceedWithAudit(AuditMethodInterceptor.java:245) at org.alfresco.repo.audit.AuditMethodInterceptor.proceed(AuditMethodInterceptor.java:211) at org.alfresco.repo.audit.AuditMethodInterceptor.invoke(AuditMethodInterceptor.java:164) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) at $Proxy291.lock(Unknown Source) at org.alfresco.repo.webdav.WebDAVLockService.lock(WebDAVLockService.java:250) at org.alfresco.repo.webdav.LockMethod.createLock(LockMethod.java:399) at org.alfresco.repo.webdav.LockMethod.executeImpl(LockMethod.java:358) at org.alfresco.repo.webdav.WebDAVMethod$2.execute(WebDAVMethod.java:336) at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:388) at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:278) at org.alfresco.repo.webdav.WebDAVMethod.execute(WebDAVMethod.java:344) ... 37 more Caused by: net.sf.acegisecurity.AccessDeniedException: Access is denied. at net.sf.acegisecurity.vote.AffirmativeBased.decide(AffirmativeBased.java:93) at net.sf.acegisecurity.intercept.AbstractSecurityInterceptor.beforeInvocation(AbstractSecurityInterceptor.java:398) at net.sf.acegisecurity.intercept.method.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:77) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:46) ... 53 more
8. Refresh Windows Explorer window.
Result: The empty document is present.
9. Open the directory in the Share.
Result: The empty undeclared record is present.
Expected result: The document should be successfully uploaded at step 7. Its content should not be lost.
ChristinaSh
- duplicates
-
MNT-5882 WebDAV: An error occurs on drag&drop content from local machine to alfresco when inbound move rule configured.
- Closed
-
MNT-10966 4.1.7 breaks onContentUpdate policies when using webdav
- Closed
- is related to by
-
RM-4997 Electronic Records added into unfiled records don't get the record identifier into the name
- Done
- links to