cancel
Showing results for 
Search instead for 
Did you mean: 

Download and inline edit of text file has stopped working

dnallsopp
Champ in-the-making
Champ in-the-making
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…
3 REPLIES 3

jpotts
World-Class Innovator
World-Class Innovator
Does the problem occur if you wait a while (like 5 minutes, for example) between creating the document and attempting to edit? (Obviously your end users shouldn't have to wait, I'm just wondering if the document shows up eventually). Seeing that 404 on a download of a file you just created makes me wonder if your search index is lagging.

Jeff

dnallsopp
Champ in-the-making
Champ in-the-making
Jeff - yes, I just tried waiting 15 minutes or more, and the problem is still there.

jpotts
World-Class Innovator
World-Class Innovator
I can't reproduce this on 4.0.e out-of-the-box. Have you made any form config changes or other customizations?

Jeff