title: Save xspdocument with attachment runs into error
body: <p>I'm using an upload control with this code:</p>
  
  <pre><code>&lt;xp:table&gt;
      &lt;xp:tr&gt;
          &lt;xp:td&gt;
              &lt;xp:button id="buttonUpload"value="Upload"rendered="#{javascript:docApplication.isEditable();}"&gt;
                  &lt;xp:eventHandler event="onclick"submit="true" refreshMode="complete"&gt;
                      &lt;xp:this.action&gt;&lt;![CDATA[#{javascript:docApplication.save()}]]&gt;&lt;/xp:this.action&gt;
                  &lt;/xp:eventHandler&gt;
              &lt;/xp:button&gt;
          &lt;/xp:td&gt;
          &lt;xp:td&gt;
              &lt;xp:fileUpload id="fuAttachments" value="#{docApplication.Attachments}"&gt;
          &lt;/xp:fileUpload&gt;&lt;/xp:td&gt;
      &lt;/xp:tr&gt;
  &lt;/xp:table&gt;
  </code></pre>
  
  <p>So all I want to do is, to upload a file to the current document and then save the document. I choose a document and as soon as I click Upload I get this error:</p>
  
  <p>The translated error message:</p>
  
  <blockquote>
    <p>Script interpreter error, line = 1, col = 43: [TypeError] While
    calling the methode NotesXspDocument an error occurred.
    NotesXspDocument(save) access to the file or to change the
    NotesXspDocument is not allowed</p>
  </blockquote>
  
  <p>This error only occurs on our production server, but not on our test server. If I do the exact same steps on our test server, the document is saved. But on the production server, I get this error message. So what's the problem? Any idea?</p>