<?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: Locked Document in 5.0.d in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/locked-document-in-5-0-d/m-p/282321#M235451</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi - A restart does not make the lock go away unfortunately.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 29 Oct 2016 19:38:32 GMT</pubDate>
    <dc:creator>mrks_js1</dc:creator>
    <dc:date>2016-10-29T19:38:32Z</dc:date>
    <item>
      <title>Locked Document in 5.0.d</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/locked-document-in-5-0-d/m-p/282319#M235449</link>
      <description>HiI have 1 document in my test system that has a hardcore persistent lock. keeps me from trying to reproduce some issues. restart does _not_ clear the lock.the document is not visible in the share doclib view. but it can be found in the node browser.the document has these lock related properties:cm:</description>
      <pubDate>Sat, 29 Oct 2016 13:59:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/locked-document-in-5-0-d/m-p/282319#M235449</guid>
      <dc:creator>mrks_js1</dc:creator>
      <dc:date>2016-10-29T13:59:11Z</dc:date>
    </item>
    <item>
      <title>Re: Locked Document in 5.0.d</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/locked-document-in-5-0-d/m-p/282320#M235450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A node 's lock is saved in cm:lockable aspect and cm:lockType property.&lt;/P&gt;&lt;P&gt;If you have checked that there is no lock related record in database,then it could be that the cache is not synchronized with database. Can you try to restart you alfresco?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Oct 2016 15:32:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/locked-document-in-5-0-d/m-p/282320#M235450</guid>
      <dc:creator>kaynezhang</dc:creator>
      <dc:date>2016-10-29T15:32:34Z</dc:date>
    </item>
    <item>
      <title>Re: Locked Document in 5.0.d</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/locked-document-in-5-0-d/m-p/282321#M235451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi - A restart does not make the lock go away unfortunately.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Oct 2016 19:38:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/locked-document-in-5-0-d/m-p/282321#M235451</guid>
      <dc:creator>mrks_js1</dc:creator>
      <dc:date>2016-10-29T19:38:32Z</dc:date>
    </item>
    <item>
      <title>Re: Locked Document in 5.0.d</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/locked-document-in-5-0-d/m-p/282322#M235452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you having GDrive integration? I ran into some issue during GDrive integration. Issue was because document was marked as checkout from GDrive side. So, unless I login into GDrive and explicitly mark it as editing completed I was not able to do any operations on that document.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 30 Oct 2016 12:49:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/locked-document-in-5-0-d/m-p/282322#M235452</guid>
      <dc:creator>mitpatoliya</dc:creator>
      <dc:date>2016-10-30T12:49:18Z</dc:date>
    </item>
    <item>
      <title>Re: Locked Document in 5.0.d</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/locked-document-in-5-0-d/m-p/282323#M235453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As I mentioned in IRC #alfresco yesterday I typically solve this via the JavaScript Console by removing the aspects and/or properties for this as you already tried. The important thing to do to make this work is to disable behaviours in the script before you attempt to remove the aspects / properties. So you need to lookup the "policyBehaviourFilter" bean (examples for bean lookup in a gist of mine: &lt;A href="https://gist.github.com/AFaust/beaa309837397abf961f" title="https://gist.github.com/AFaust/beaa309837397abf961f" rel="nofollow noopener noreferrer"&gt;Useful Alfresco JavaScript console scripts · GitHub&lt;/A&gt;) and simply call "disableBehaviour()" on it. This operation only disables behaviours in the current transaction so there should be no side effect. Since all the core services building upon the foundation services are (typically) using behaviours for providing their functionality this is a master recipe to work around any issues they may cause / be a part of.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 30 Oct 2016 15:07:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/locked-document-in-5-0-d/m-p/282323#M235453</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2016-10-30T15:07:26Z</dc:date>
    </item>
    <item>
      <title>Re: Locked Document in 5.0.d</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/locked-document-in-5-0-d/m-p/282324#M235454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No - Google integration is disabled.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 30 Oct 2016 19:27:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/locked-document-in-5-0-d/m-p/282324#M235454</guid>
      <dc:creator>mrks_js1</dc:creator>
      <dc:date>2016-10-30T19:27:53Z</dc:date>
    </item>
    <item>
      <title>Re: Locked Document in 5.0.d</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/locked-document-in-5-0-d/m-p/282325#M235455</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could also use the alfresco-jscript-extensions:&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/jgoldhammer/alfresco-jscript-extensions" title="https://github.com/jgoldhammer/alfresco-jscript-extensions" rel="nofollow noopener noreferrer"&gt;GitHub - jgoldhammer/alfresco-jscript-extensions: Alfresco repository module with helpful javascript root object extensi…&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is a policy root object and here is an example for using it:&lt;/P&gt;&lt;P&gt;&lt;A href="https://gist.github.com/jgoldhammer/6941414" title="https://gist.github.com/jgoldhammer/6941414" rel="nofollow noopener noreferrer"&gt;shows how to temporarly disable and enable the policy behaviours of a node · GitHub&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Nov 2016 21:35:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/locked-document-in-5-0-d/m-p/282325#M235455</guid>
      <dc:creator>jego</dc:creator>
      <dc:date>2016-11-01T21:35:23Z</dc:date>
    </item>
    <item>
      <title>Re: Locked Document in 5.0.d</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/locked-document-in-5-0-d/m-p/282326#M235456</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just try this code to remove unwanted lock from a node:&lt;/P&gt;&lt;P&gt;[code]&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;SPAN style="color: #931a68;"&gt;var&lt;/SPAN&gt; ctxt = Packages.org.springframework.web.context.ContextLoader.getCurrentWebApplicationContext();&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;SPAN style="color: #931a68;"&gt;var&lt;/SPAN&gt; policyBehaviourFilter = ctxt.getBean(&lt;SPAN style="color: #3933ff;"&gt;'policyBehaviourFilter'&lt;/SPAN&gt;, Packages.org.alfresco.repo.policy.BehaviourFilter);&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px;"&gt;policyBehaviourFilter.disableBehaviour();&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px;"&gt;document.removeAspect(&lt;SPAN style="color: #3933ff;"&gt;"cm:checkedOut"&lt;/SPAN&gt;);&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px;"&gt;document.removeAspect(&lt;SPAN style="color: #3933ff;"&gt;"cm:lockable"&lt;/SPAN&gt;);&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px;"&gt;[/code]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Nov 2018 08:18:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/locked-document-in-5-0-d/m-p/282326#M235456</guid>
      <dc:creator>lajosnagybroadb</dc:creator>
      <dc:date>2018-11-23T08:18:02Z</dc:date>
    </item>
  </channel>
</rss>

