<?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: RM site broken in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/rm-site-broken/m-p/258214#M211344</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;OK. Sorry I couldn't be of more assistance. Guess the only way forward is to get a paid subscription or have an Alfresco pro look at it. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards, Søren&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 May 2011 13:15:16 GMT</pubDate>
    <dc:creator>eddie</dc:creator>
    <dc:date>2011-05-02T13:15:16Z</dc:date>
    <item>
      <title>RM site broken</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/rm-site-broken/m-p/258211#M211341</link>
      <description>After going through several upgrades, and testing different RM (record mgmt) site tests… I seem to have broken our RM site.&amp;nbsp; Deleting and re-creating the RM site does not appear to help at all.&amp;nbsp; I can create a file plan, and upload docs, but cannot preview, nor can I download them.&amp;nbsp;&amp;nbsp; Below is the er</description>
      <pubDate>Wed, 27 Apr 2011 13:02:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/rm-site-broken/m-p/258211#M211341</guid>
      <dc:creator>gnyce</dc:creator>
      <dc:date>2011-04-27T13:02:50Z</dc:date>
    </item>
    <item>
      <title>Re: RM site broken</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/rm-site-broken/m-p/258212#M211342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It seems that the template file web-preview.get.html.ftl has problems. See at the bottom of your stack trace:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;Caused by: freemarker.template.TemplateException: Expected collection or sequence. node.previews evaluated instead to freemarker.template.SimpleHash on line 10, column 22 in org/alfresco/components/preview/web-preview.get.html.ftl.&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;i.e. the node.previews object is not of the expected type. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That's the obvious stuff, more interestingly, how to resolve? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You stated that you have upgraded and created/deleted RM sites. I wonder if you may have created a site under one version which was deleted after an upgrade? This is a potential source of problems, if the underlying schemas or methods for deletion have changed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it possible for you to start from a fresh install and proceed to reproduce? If so, it looks like a genuine bug. If not, I suspect foul data.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Disclaimer: I don't have specific knowledge of this problem or RM module, I just looked at the stack trace and got interested.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;regards, Søren&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Apr 2011 19:59:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/rm-site-broken/m-p/258212#M211342</guid>
      <dc:creator>eddie</dc:creator>
      <dc:date>2011-04-27T19:59:23Z</dc:date>
    </item>
    <item>
      <title>Re: RM site broken</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/rm-site-broken/m-p/258213#M211343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for your reply.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;You stated that you have upgraded and created/deleted RM sites. I wonder if you may have created a site under one version which was deleted after an upgrade? This is a potential source of problems, if the underlying schemas or methods for deletion have changed.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;That could very well be the case.&amp;nbsp; There seems to be left-over cruft from previous RM implementations, perhaps.&amp;nbsp; Not sure if there is a way to cleanly remove it and start over (ideally).&amp;nbsp; Messed a little with the Module Mgmt Tool &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/Module_Management_Tool" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Module_Management_Tool&lt;/A&gt;&lt;SPAN&gt; but no joy so far (thought being, perhaps installing w/out RM, then adding as am AMP…)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Is it possible for you to start from a fresh install and proceed to reproduce? If so, it looks like a genuine bug. If not, I suspect foul data.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Not easily… certainly would prefer not, as this is in production with a few other sites (one that has a bit of data).&amp;nbsp; We thought we would dip our toe in with regards to RM.&amp;nbsp; I'm cursing the fact that I tried it out earlier in a live setup.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have created a default install with RM installed… nothing seems to be very different than a non-RM install, until you create a site and then go into it.&amp;nbsp; Once you enter that RM site, it seems to trigger stuff… creating of new REC* groups, etc.&amp;nbsp; I seem to be missing that trigger from running now, after having removed the site and trying to create a new RM site.&amp;nbsp; Not sure how many other options I have…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Apr 2011 20:41:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/rm-site-broken/m-p/258213#M211343</guid>
      <dc:creator>gnyce</dc:creator>
      <dc:date>2011-04-28T20:41:23Z</dc:date>
    </item>
    <item>
      <title>Re: RM site broken</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/rm-site-broken/m-p/258214#M211344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;OK. Sorry I couldn't be of more assistance. Guess the only way forward is to get a paid subscription or have an Alfresco pro look at it. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards, Søren&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 May 2011 13:15:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/rm-site-broken/m-p/258214#M211344</guid>
      <dc:creator>eddie</dc:creator>
      <dc:date>2011-05-02T13:15:16Z</dc:date>
    </item>
    <item>
      <title>Re: RM site broken</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/rm-site-broken/m-p/258215#M211345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Update on this - I seem to have it working again.&amp;nbsp; I probably used a pretty big hammer on this, so testing to see if anything else was broken. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My best guess on what happened is that, in the midst of going from the 3.2 –&amp;gt; 3.3 –&amp;gt; 3.4 series of Alfresco, and the numerous kicking-of-tires we did on the RM site/module, that we got some cruft that was left over.&amp;nbsp; Deleting and rec-creating an RM site did not appear to help.&amp;nbsp; In testing with a new install, it seems that one of the triggers for doing stuff is when you 1) create an RM site, and 2) enter the RM site for the first time.&amp;nbsp; The thought was that I needed those triggers to be re-run, and properly implement the RM schema (3.4d CE).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In digging through the mysql db and trying to figure out the structure for RM stuff (alf_namespace, alf_qname, etc), it was clear that you just can't delete stuff b/c of the numerous constraints/foreign keys.&amp;nbsp; So I gathered the names of about 20 tables and turned on the ON DELETE CASCADE - in essence, creating the chain reaction to (in theory) more completely root out the RM stuff - starting by deleting the alf_namespace entries for DOD, RM, etc.&amp;nbsp; And curiously enough, it _seems_ to have worked.&amp;nbsp; Again, still early in testing, but now certain actions that would fail (create a fileplan, upload a file, preview, download, declare a record).&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;By the way, I have no problem with a Dev stepping in and saying "Good God WTF are you playing at man?!"… or even "you know, you could have more easily/safely done X instead"….&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 May 2011 17:33:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/rm-site-broken/m-p/258215#M211345</guid>
      <dc:creator>gnyce</dc:creator>
      <dc:date>2011-05-03T17:33:28Z</dc:date>
    </item>
  </channel>
</rss>

