AnsweredAssumed Answered

Download and inline edit of text file has stopped working

Question asked by dnallsopp on Aug 30, 2012
Latest reply on Sep 4, 2012 by jpotts
Hi all,

On my new installation of Alfresco Community 4.0.e, downloading or inline-edit of simple text files seems to have stopped working.

* log in as admin
* go to Repository Browser
* Create content… Plain Text…
* Create file "test.txt" with content "hello world"
* the file shows up fine in the web preview
* select the Inline Edit action
* the edit form appears, but the content field is not shown - just Name, Title, Description
* cancel, and try the Download action instead (or View in Browser). This displays the following raw HTML error:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
   <head>
      <title>Web Script Status 404 - Not Found</title>
      <link rel="stylesheet" href="/alfresco/css/webscripts.css" type="text/css" />
   </head>
   <body>
      <div>
         <table>
            <tr>
               <td><img src="/alfresco/images/logo/AlfrescoLogo32.png" alt="Alfresco" /></td>
               <td><span class="title">Web Script Status 404 - Not Found</span></td>
            </tr>
         </table>
         <br/>
         <table>
            <tr><td>The Web Script <a href="%2Falfresco%2Fs%2Fapi%2Fnode%2Fcontent%2Fworkspace%2FSpacesStore%2Fc49718ad-e22c-48ea-95ad-f537c3ab6c11%2Ftest.txt%3Fa%3Dtrue%26alf_ticket%3DTICKET_51d34088c668f94259d1ac06d1e5979da186e811">/alfresco/s/api/node/content/workspace/SpacesStore/c49718ad-e22c-48ea-95ad-f537c3ab6c11/test.txt</a> has responded with a status of 404 - Not Found.</td></tr>
         </table>
         <br/>
         <table>
            <tr><td><b>404 Description:</b></td><td> Requested resource is not available.</td></tr>
            <tr><td> </td></tr>
            <tr><td><b>Message:</b></td><td>Cannot find object for NodeIdReference[storeRef=content://workspace,id=SpacesStore/c49718ad-e22c-48ea-95ad-f537c3ab6c11/test.txt]</td></tr>
            <tr><td><b>Server</b>:</td><td>Community v4.0.0 (7) schema 5,025</td></tr>
            <tr><td><b>Time</b>:</td><td>30-Aug-2012 14:12:14</td></tr>
            <tr><td></td><td> </td></tr>
            <tr><td><b>Diagnostics</b>:</td><td><a href="/alfresco/s/script/org/alfresco/cmis/item.get">Inspect Web Script (org/alfresco/cmis/item.get)</a></td></tr>
         </table>
      </div>
   </body>
</html>

Grateful for any pointers…

Outcomes