[ACE-2086] Download, View in Browser, Edit Offline links does not work Created: 24-Jun-14  Updated: 02-Jul-14  Resolved: 26-Jun-14

Status: Closed
Project: Alfresco One Platform
Component/s: Document Library
Affects Version/s: Cloud 37
Fix Version/s: Cloud 36

Type: Bug Priority: Blocker
Reporter: Dmitry Yukhnovets [X] (Inactive) Assignee: Closed Issues
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Cloud2 myAlfrescoHead-Bug-Fix build 383 rel36rc5


Issue Links:
Related
is related to by ACE-2088 "Content" field is disappeared on "Ed... Closed
is related to by ACE-2098 Could not load PDF content Closed
Build Location: ftp://pbld01.alfresco.com/nightlybuilds/Enterprise%205.0/build-00424/
Build Number: 385
Regression Since:
Cloud or Enterprise: Cloud Only

 Description   

Steps:
1. log in to Cloud
2. Create any site
3. Upload any document
4. Try to download the document. (it's reproduced via more actions and via Details page)
Expected:
Content should be downloaded; user should be on the same page.
Actual:
500 error is displayed. with info : A server error has occurred.

5, Try to edit offline the doc.
Expected:
Content should be downloaded and locked

Actual:
500 error is displayed. with info : A server error has occurred., but content was locked.

Error from the log:

2014-06-24 16:06:55,196 ERROR [org.springframework.extensions.webscripts.AbstractRuntime] Exception from executeScript - redirecting to status template error: 05240992 Web Script format '' is not registered
org.springframework.extensions.webscripts.WebScriptException: 05240992 Web Script format '' is not registered
        at org.springframework.extensions.webscripts.DeclarativeWebScript.execute(DeclarativeWebScript.java:58)
        at org.alfresco.repo.web.scripts.RepositoryContainer$3.execute(RepositoryContainer.java:426)
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:454)
        at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecute(RepositoryContainer.java:495)
        at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecuteAs(RepositoryContainer.java:563)
        at org.alfresco.repo.web.scripts.RepositoryContainer.executeScript(RepositoryContainer.java:343)
        at org.alfresco.module.org_alfresco_module_cloud.webscripts.TenantSwitchingRepositoryContainer.access$201(TenantSwitchingRepositoryContainer.java:52)
        at org.alfresco.module.org_alfresco_module_cloud.webscripts.TenantSwitchingRepositoryContainer$2.doWork(TenantSwitchingRepositoryContainer.java:190)
        at org.alfresco.repo.tenant.TenantUtil.runAsWork(TenantUtil.java:119)
        at org.alfresco.repo.tenant.TenantUtil.runAsTenant(TenantUtil.java:88)
        at org.alfresco.module.org_alfresco_module_cloud.webscripts.TenantSwitchingRepositoryContainer.executeScript(TenantSwitchingRepositoryContainer.java:186)
        at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:378)
        at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:209)
        at org.alfresco.repo.web.scripts.TenantWebScriptServlet.service(TenantWebScriptServlet.java:74)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
        at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
        at org.alfresco.web.app.servlet.GlobalLocalizationFilter.doFilter(GlobalLocalizationFilter.java:61)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
        at org.alfresco.module.org_alfresco_module_cloud.webscripts.TenantLeakLogger.doFilter(TenantLeakLogger.java:56)
        at org.alfresco.repo.web.filter.beans.BeanProxyFilter.doFilter(BeanProxyFilter.java:82)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:203)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
        at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040)
        at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
        at org.apache.tomcat.util.net.AprEndpoint$SocketWithOptionsProcessor.run(AprEndpoint.java:2379)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
        at java.lang.Thread.run(Thread.java:745)

The issue is not reproduced on Cloud2 myAlfrescoHead build 538 rel36rc5 - STAG.



 Comments   
Comment by Alan Davis [ 26-Jun-14 ]

The cause of this issue was reverted in HEAD-BUG-FIX Enterprise Build 420 and Cloud build 385.

Comment by Dmitry Yukhnovets [X] (Inactive) [ 26-Jun-14 ]

The issue is not reproduced on Cloud2 myAlfrescoHead-Bug-Fix 5.0 build 389 rel37rc1

Generated at Thu Jul 09 09:42:08 BST 2020 using JIRA 7.6.3#76005-sha1:8a4e38d34af948780dbf52044e7aafb13a7cae58.