<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: I cant create a social workspace, I get the following error &amp;quot;An error occurred&amp;quot; &amp;quot;Document does not exist&amp;quot;? in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/i-cant-create-a-social-workspace-i-get-the-following-error-quot/m-p/319887#M6888</link>
    <description>&lt;P&gt;I've edited my answer with two workarounds.&lt;/P&gt;</description>
    <pubDate>Fri, 02 Aug 2013 18:51:32 GMT</pubDate>
    <dc:creator>Thomas_Roger</dc:creator>
    <dc:date>2013-08-02T18:51:32Z</dc:date>
    <item>
      <title>I cant create a social workspace, I get the following error "An error occurred" "Document does not exist"?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/i-cant-create-a-social-workspace-i-get-the-following-error-quot/m-p/319883#M6884</link>
      <description>&lt;P&gt;Also when trying to view the collaboration view from anyone but an admin i get the following error "An error occurred while loading the layout" and the page remains blank.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Aug 2013 14:46:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/i-cant-create-a-social-workspace-i-get-the-following-error-quot/m-p/319883#M6884</guid>
      <dc:creator>mark-bigrock</dc:creator>
      <dc:date>2013-08-01T14:46:03Z</dc:date>
    </item>
    <item>
      <title>Re: I cant create a social workspace, I get the following error "An error occurred" "Document does not exist"?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/i-cant-create-a-social-workspace-i-get-the-following-error-quot/m-p/319884#M6885</link>
      <description>&lt;P&gt;Any help would be greatly appreciated.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Aug 2013 14:46:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/i-cant-create-a-social-workspace-i-get-the-following-error-quot/m-p/319884#M6885</guid>
      <dc:creator>mark-bigrock</dc:creator>
      <dc:date>2013-08-01T14:46:34Z</dc:date>
    </item>
    <item>
      <title>Re: I cant create a social workspace, I get the following error "An error occurred" "Document does not exist"?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/i-cant-create-a-social-workspace-i-get-the-following-error-quot/m-p/319885#M6886</link>
      <description>&lt;P&gt;This is probably linked to this know issue on 5.7.1: &lt;A href="https://jira.nuxeo.com/browse/NXP-11990" target="test_blank"&gt;https://jira.nuxeo.com/browse/NXP-11990&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;The easiest workaround is to configure a mail server on your Nuxeo instance.&lt;/P&gt;
&lt;P&gt;Otherwise, you can add the following content to a file named &lt;CODE&gt;social-collaboration-chains-config.xml&lt;/CODE&gt; in your &lt;CODE&gt;$NUXEO_HOME/nxserver/config&lt;/CODE&gt; folder to override the default chains contribution of the Nuxeo Social Collaboration module with the fixed ones:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;&amp;lt;?xml version="1.0"?&amp;gt;
&amp;lt;component name="org.nuxeo.ecm.social.workspace.operation.chains.override"&amp;gt;

  &amp;lt;require&amp;gt;org.nuxeo.ecm.social.workspace.operation.chains&amp;lt;/require&amp;gt;

  &amp;lt;extension target="org.nuxeo.ecm.core.operation.OperationServiceComponent" point="chains"&amp;gt;
    &amp;lt;chain id="SocialWorkspaceCreatedChain"&amp;gt;
      &amp;lt;operation id="Context.FetchDocument"/&amp;gt;
      &amp;lt;operation id="Context.SetVar"&amp;gt;
        &amp;lt;param type="string" name="name"&amp;gt;admins&amp;lt;/param&amp;gt;
        &amp;lt;param type="object" name="value"&amp;gt;administrators&amp;lt;/param&amp;gt;
      &amp;lt;/operation&amp;gt;
      &amp;lt;operation id="Workflow.CreateTask"&amp;gt;
        &amp;lt;param type="string" name="task name"&amp;gt;validateSocialWorkspace&amp;lt;/param&amp;gt;
        &amp;lt;param type="string" name="directive"&amp;gt;VERIFICATION&amp;lt;/param&amp;gt;
        &amp;lt;param type="string" name="comment"&amp;gt;Please validate social workspace&amp;lt;/param&amp;gt;
        &amp;lt;param type="string" name="variable name for actors prefixed ids"&amp;gt;admins&amp;lt;/param&amp;gt;
        &amp;lt;param type="boolean" name="create one task per actor"&amp;gt;true&amp;lt;/param&amp;gt;
      &amp;lt;/operation&amp;gt;
      &amp;lt;operation id="Notification.SendMail"&amp;gt;
        &amp;lt;param type="boolean" name="rollbackOnError"&amp;gt;false&amp;lt;/param&amp;gt;
        &amp;lt;param type="string" name="from"&amp;gt;expr:Env["mail.from"]&amp;lt;/param&amp;gt;
        &amp;lt;param type="string" name="message"&amp;gt;&amp;amp;lt;html&amp;amp;gt;
Hello,

Social Workspace &amp;amp;lt;a href="${docUrl}"&amp;amp;gt;${Document.title}&amp;amp;lt;/a&amp;amp;gt; was created. Please validate it &amp;amp;lt;a href="${baseUrl}nxadmin/${Session.repositoryName}${Document.path}@view_admin?tabIds=MAIN_TABS%3Aadmin%2CNUXEO_ADMIN%3ASocialWorkspacesAdministration"&amp;amp;gt;here&amp;amp;lt;/a&amp;amp;gt;.
&amp;amp;lt;/html&amp;amp;gt;&amp;lt;/param&amp;gt;
        &amp;lt;param type="string" name="subject"&amp;gt;Social Workspace  created&amp;lt;/param&amp;gt;
        &amp;lt;param type="string" name="HTML"&amp;gt;true&amp;lt;/param&amp;gt;
        &amp;lt;param type="stringlist" name="to"&amp;gt;expr:Fn.getEmailsFromGroup("administrators")&amp;lt;/param&amp;gt;
      &amp;lt;/operation&amp;gt;
    &amp;lt;/chain&amp;gt;
    &amp;lt;chain id="SocialWorkspaceNotValidatedChain"&amp;gt;
      &amp;lt;operation id="Context.FetchDocument"/&amp;gt;
      &amp;lt;operation id="Document.SetLifeCycle"&amp;gt;
        &amp;lt;param type="string" name="value"&amp;gt;delete&amp;lt;/param&amp;gt;
      &amp;lt;/operation&amp;gt;
      &amp;lt;operation id="Notification.SendMail"&amp;gt;
        &amp;lt;param type="boolean" name="rollbackOnError"&amp;gt;false&amp;lt;/param&amp;gt;
        &amp;lt;param type="string" name="from"&amp;gt;expr:Env["mail.from"]&amp;lt;/param&amp;gt;
        &amp;lt;param type="string" name="message"&amp;gt;Social Workspace "${Document.title}" was not validated by adminitrators and it will be suspended.&amp;lt;/param&amp;gt;
        &amp;lt;param type="string" name="subject"&amp;gt;expr:Social Workspace not validated: @{Document.title}&amp;lt;/param&amp;gt;
        &amp;lt;param type="stringlist" name="to"&amp;gt;expr:Fn.getEmail(Document["dc:creator"])&amp;lt;/param&amp;gt;
      &amp;lt;/operation&amp;gt;
    &amp;lt;/chain&amp;gt;
  &amp;lt;/extension&amp;gt;

&amp;lt;/component&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 02 Aug 2013 11:35:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/i-cant-create-a-social-workspace-i-get-the-following-error-quot/m-p/319885#M6886</guid>
      <dc:creator>Thomas_Roger</dc:creator>
      <dc:date>2013-08-02T11:35:51Z</dc:date>
    </item>
    <item>
      <title>Re: I cant create a social workspace, I get the following error "An error occurred" "Document does not exist"?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/i-cant-create-a-social-workspace-i-get-the-following-error-quot/m-p/319886#M6887</link>
      <description>&lt;P&gt;Hi Thomas&lt;/P&gt;</description>
      <pubDate>Fri, 02 Aug 2013 12:26:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/i-cant-create-a-social-workspace-i-get-the-following-error-quot/m-p/319886#M6887</guid>
      <dc:creator>mark-bigrock</dc:creator>
      <dc:date>2013-08-02T12:26:09Z</dc:date>
    </item>
    <item>
      <title>Re: I cant create a social workspace, I get the following error "An error occurred" "Document does not exist"?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/i-cant-create-a-social-workspace-i-get-the-following-error-quot/m-p/319887#M6888</link>
      <description>&lt;P&gt;I've edited my answer with two workarounds.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Aug 2013 18:51:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/i-cant-create-a-social-workspace-i-get-the-following-error-quot/m-p/319887#M6888</guid>
      <dc:creator>Thomas_Roger</dc:creator>
      <dc:date>2013-08-02T18:51:32Z</dc:date>
    </item>
  </channel>
</rss>

