<?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: LDAP sync fails after CleanAlfPropTablesPostExec.sql/CleanAlfPropTables.sql in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/ldap-sync-fails-after-cleanalfproptablespostexec-sql/m-p/114024#M31695</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;B&gt;Ian Wright&lt;/B&gt;‌, thanks for sharing your solution!&lt;BR /&gt;just a small typo: in line #3 "packages.org.alfresco..." should start with a upper case letter.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Sep 2019 08:07:36 GMT</pubDate>
    <dc:creator>heiko_robert</dc:creator>
    <dc:date>2019-09-05T08:07:36Z</dc:date>
    <item>
      <title>LDAP sync fails after CleanAlfPropTablesPostExec.sql/CleanAlfPropTables.sql</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/ldap-sync-fails-after-cleanalfproptablespostexec-sql/m-p/114019#M31690</link>
      <description>My ldap sync is broken with the error message:2019-08-10 03:16:18,271 ERROR [org.quartz.core.JobRunShell] [DefaultScheduler_Worker-3] Job DEFAULT.ldapPeopleJobDetail threw an unhandled Exception&lt;IMG id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://migration33.stage.lithium.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;rg.springframework.dao.DataIntegrityViolationException: No property value exists for ID 2927643 at org.a</description>
      <pubDate>Tue, 03 Sep 2019 10:11:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/ldap-sync-fails-after-cleanalfproptablespostexec-sql/m-p/114019#M31690</guid>
      <dc:creator>idwright</dc:creator>
      <dc:date>2019-09-03T10:11:25Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP sync fails after CleanAlfPropTablesPostExec.sql/CleanAlfPropTables.sql</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/ldap-sync-fails-after-cleanalfproptablespostexec-sql/m-p/114020#M31691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It looks like there are some properties missing in the database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to remove them manually, something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="line-numbers language-sql"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;delete&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;from&lt;/SPAN&gt; alf_prop_unique_ctx &lt;SPAN class="keyword token"&gt;where&lt;/SPAN&gt; prop1_id &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;2927643&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="keyword token"&gt;delete&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;from&lt;/SPAN&gt; alf_prop_root &lt;SPAN class="keyword token"&gt;where&lt;/SPAN&gt; id &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;2927643&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Sep 2019 10:31:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/ldap-sync-fails-after-cleanalfproptablespostexec-sql/m-p/114020#M31691</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2019-09-03T10:31:23Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP sync fails after CleanAlfPropTablesPostExec.sql/CleanAlfPropTables.sql</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/ldap-sync-fails-after-cleanalfproptablespostexec-sql/m-p/114021#M31692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have solved this a while back by executing a JS snippet in JS Console, I couldn't find the final one, but I found the initial draft which might work from the first try or might require some fine-tuning first. PLEASE TEST IT ON A NON CRUCIAL ENVIRONMENT FIRST.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="language-javascript line-numbers"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; context &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; Packages&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;org&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;springframework&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;web&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;context&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;ContextLoader&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;getCurrentWebApplicationContext&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; SyncStatus &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; Packages&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;org&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;alfresco&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;repo&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;security&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;sync&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;SyncStatus&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; attributeService &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; context&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;getBean&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'attributeService'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; Packages&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;org&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;alfresco&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;service&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;cmr&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;attributes&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;AttributeService&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; ROOT_ATTRIBUTE_PATH &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;".ChainingUserRegistrySynchronizer"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; STATUS_ATTRIBUTE &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"STATUS"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;BR /&gt; &lt;BR /&gt;logger&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;log&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;attributeService&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;getAttribute&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;ROOT_ATTRIBUTE_PATH&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; STATUS_ATTRIBUTE&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt;&lt;SPAN class="comment token"&gt;/* experimental stuff */&lt;/SPAN&gt;&lt;BR /&gt; &lt;BR /&gt;attributeService&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;removeAttribute&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;ROOT_ATTRIBUTE_PATH&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; STATUS_ATTRIBUTE&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;BR /&gt; &lt;BR /&gt;attributeService&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;createAttribute&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;SyncStatus&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;COMPLETE_ERROR&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;toString&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;ROOT_ATTRIBUTE_PATH&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; STATUS_ATTRIBUTE&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;BR /&gt; &lt;BR /&gt;logger&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;log&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;attributeService&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;getAttribute&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;ROOT_ATTRIBUTE_PATH&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; STATUS_ATTRIBUTE&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;DIV data-extension-version="1.0.4"&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Sep 2019 12:25:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/ldap-sync-fails-after-cleanalfproptablespostexec-sql/m-p/114021#M31692</guid>
      <dc:creator>yreg</dc:creator>
      <dc:date>2019-09-03T12:25:14Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP sync fails after CleanAlfPropTablesPostExec.sql/CleanAlfPropTables.sql</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/ldap-sync-fails-after-cleanalfproptablespostexec-sql/m-p/114022#M31693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please, always be aware that the in-memory caches of Alfresco can still contain some values (e.g. mapping String value x to ID y) which&amp;nbsp;CleanAlfPropTables may delete. The whole prop_value code in Alfresco never checks if the cached entries still exist before (re-)linking and will throw up if they don't. Typically, a restart is required / advisable after running CleanAlfPropTables to ensure caches are clear, or you should manually clear the caches via the OOTBee Support Tools.&lt;/P&gt;&lt;P&gt;Problems like this had motivated me to write an &lt;A href="https://github.com/Acosix/alfresco-audit#incremental-cleanup-of-alf_prop_-tables" rel="nofollow noopener noreferrer"&gt;improved cleanup process&lt;/A&gt;, which also includes clearing any old cache entries, so it is safe to run any synchronisation processes afterwards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Sep 2019 13:44:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/ldap-sync-fails-after-cleanalfproptablespostexec-sql/m-p/114022#M31693</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2019-09-03T13:44:44Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP sync fails after CleanAlfPropTablesPostExec.sql/CleanAlfPropTables.sql</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/ldap-sync-fails-after-cleanalfproptablespostexec-sql/m-p/114023#M31694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately not the caches.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The script&amp;nbsp;from&amp;nbsp;&lt;B&gt;Younes REGAIEG&lt;/B&gt;‌ provided a good start but more than one property was involved. By using the stack trace, either from the logs or in the javascript console, I could look up the names of the relevant properties in the code using the line numbers. (Easiest way to see the full stack trace is to not catch the exception from getAttribute)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This should be safe to run as it only does something if an exception is thrown when trying to get an attribute.&lt;/P&gt;&lt;P&gt;You may need to change the value of zone to match your configuration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var context = Packages.org.springframework.web.context.ContextLoader.getCurrentWebApplicationContext();&lt;BR /&gt;var SyncStatus = Packages.org.alfresco.repo.security.sync.SyncStatus;&lt;BR /&gt;var attributeService = context.getBean('attributeService', packages.org.alfresco.service.cmr.attributes.AttributeService);&lt;BR /&gt; &lt;BR /&gt;var ROOT_ATTRIBUTE_PATH = ".ChainingUserRegistrySynchronizer";&lt;BR /&gt;var STATUS_ATTRIBUTE = "STATUS";&lt;BR /&gt;var SUMMARY_ATTRIBUTE = "SUMMARY";&lt;BR /&gt;var zone = "ldap1";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; logger.log(attributeService.getAttribute(ROOT_ATTRIBUTE_PATH, STATUS_ATTRIBUTE));&lt;BR /&gt;} catch(excep) {&lt;BR /&gt; &lt;SPAN style="background-color: #f6f6f6;"&gt;&amp;nbsp; &amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;logger.log("Missing attribute:" + ROOT_ATTRIBUTE_PATH + " " + STATUS_ATTRIBUTE + excep);&lt;BR /&gt; &lt;SPAN style="background-color: #f6f6f6;"&gt;&amp;nbsp; &amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;attributeService.removeAttribute(ROOT_ATTRIBUTE_PATH, STATUS_ATTRIBUTE);&lt;BR /&gt; &lt;SPAN style="background-color: #f6f6f6;"&gt;&amp;nbsp; &amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;attributeService.createAttribute(SyncStatus.COMPLETE_ERROR.toString() ,ROOT_ATTRIBUTE_PATH, STATUS_ATTRIBUTE);&lt;BR /&gt; &lt;SPAN style="background-color: #f6f6f6;"&gt;&amp;nbsp; &amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;logger.log("Created attribute");&lt;BR /&gt; &lt;SPAN style="background-color: #f6f6f6;"&gt;&amp;nbsp; &amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;logger.log(attributeService.getAttribute(ROOT_ATTRIBUTE_PATH, STATUS_ATTRIBUTE));&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;try {&lt;BR /&gt; &lt;SPAN style="background-color: #f6f6f6;"&gt;&amp;nbsp; &amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;logger.log(attributeService.getAttribute(ROOT_ATTRIBUTE_PATH, STATUS_ATTRIBUTE, zone));&lt;BR /&gt;} catch(excep) {&lt;BR /&gt; &lt;SPAN style="background-color: #f6f6f6;"&gt;&amp;nbsp; &amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;logger.log("Missing attribute:" + ROOT_ATTRIBUTE_PATH + " " + STATUS_ATTRIBUTE + " " + zone + excep);&lt;BR /&gt; &lt;SPAN style="background-color: #f6f6f6;"&gt;&amp;nbsp; &amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;attributeService.removeAttribute(ROOT_ATTRIBUTE_PATH, STATUS_ATTRIBUTE, zone);&lt;BR /&gt; &lt;SPAN style="background-color: #f6f6f6;"&gt;&amp;nbsp; &amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;attributeService.createAttribute(SyncStatus.COMPLETE_ERROR.toString() ,ROOT_ATTRIBUTE_PATH, STATUS_ATTRIBUTE, zone);&lt;BR /&gt; &lt;SPAN style="background-color: #f6f6f6;"&gt;&amp;nbsp; &amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;logger.log("Created attribute");&lt;BR /&gt; &lt;SPAN style="background-color: #f6f6f6;"&gt;&amp;nbsp; &amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;logger.log(attributeService.getAttribute(ROOT_ATTRIBUTE_PATH, STATUS_ATTRIBUTE, zone));&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;try {&lt;BR /&gt; &lt;SPAN style="background-color: #f6f6f6;"&gt;&amp;nbsp; &amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;logger.log(attributeService.getAttribute(ROOT_ATTRIBUTE_PATH, SUMMARY_ATTRIBUTE, zone));&lt;BR /&gt;} catch(excep) {&lt;BR /&gt; &lt;SPAN style="background-color: #f6f6f6;"&gt;&amp;nbsp; &amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;logger.log("Missing attribute:" + ROOT_ATTRIBUTE_PATH + " " + SUMMARY_ATTRIBUTE + " " + zone + excep);&lt;BR /&gt; &lt;SPAN style="background-color: #f6f6f6;"&gt;&amp;nbsp; &amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;attributeService.removeAttribute(ROOT_ATTRIBUTE_PATH, SUMMARY_ATTRIBUTE, zone);&lt;BR /&gt; &lt;SPAN style="background-color: #f6f6f6;"&gt;&amp;nbsp; &amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;logger.log("Removed attribute");&lt;BR /&gt;}&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Sep 2019 06:57:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/ldap-sync-fails-after-cleanalfproptablespostexec-sql/m-p/114023#M31694</guid>
      <dc:creator>idwright</dc:creator>
      <dc:date>2019-09-04T06:57:07Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP sync fails after CleanAlfPropTablesPostExec.sql/CleanAlfPropTables.sql</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/ldap-sync-fails-after-cleanalfproptablespostexec-sql/m-p/114024#M31695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;B&gt;Ian Wright&lt;/B&gt;‌, thanks for sharing your solution!&lt;BR /&gt;just a small typo: in line #3 "packages.org.alfresco..." should start with a upper case letter.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Sep 2019 08:07:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/ldap-sync-fails-after-cleanalfproptablespostexec-sql/m-p/114024#M31695</guid>
      <dc:creator>heiko_robert</dc:creator>
      <dc:date>2019-09-05T08:07:36Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP sync fails after CleanAlfPropTablesPostExec.sql/CleanAlfPropTables.sql</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/ldap-sync-fails-after-cleanalfproptablespostexec-sql/m-p/114025#M31696</link>
      <description>&lt;P&gt;Thanks so much. This script worked like magic. Had to run it twice for some reason but so happy it worked. Been looking for a fix for a few days. Saved me from restoring an old backup.&lt;/P&gt;&lt;P&gt;Seems the issue was triggered by an incomplete running of the "&lt;SPAN&gt;propTablesCleanupJobDetail" scheduled task&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Apr 2020 04:03:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/ldap-sync-fails-after-cleanalfproptablespostexec-sql/m-p/114025#M31696</guid>
      <dc:creator>ainsof</dc:creator>
      <dc:date>2020-04-06T04:03:47Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP sync fails after CleanAlfPropTablesPostExec.sql/CleanAlfPropTables.sql</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/ldap-sync-fails-after-cleanalfproptablespostexec-sql/m-p/114026#M31697</link>
      <description>&lt;P&gt;Thanks you&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/5487"&gt;@angelborroy&lt;/A&gt;&amp;nbsp;,&lt;BR /&gt;Deleting the ID(s) from the db as you suggested cleared my errors...&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jun 2021 21:39:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/ldap-sync-fails-after-cleanalfproptablespostexec-sql/m-p/114026#M31697</guid>
      <dc:creator>michaelzietlow</dc:creator>
      <dc:date>2021-06-25T21:39:55Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP sync fails after CleanAlfPropTablesPostExec.sql/CleanAlfPropTables.sql</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/ldap-sync-fails-after-cleanalfproptablespostexec-sql/m-p/114027#M31698</link>
      <description>&lt;P&gt;Where and how did you run this cript can you provide with me with steps i am facing the same issue and trying to figure out the solution&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Nov 2023 11:49:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/ldap-sync-fails-after-cleanalfproptablespostexec-sql/m-p/114027#M31698</guid>
      <dc:creator>shriyam_gupta</dc:creator>
      <dc:date>2023-11-28T11:49:21Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP sync fails after CleanAlfPropTablesPostExec.sql/CleanAlfPropTables.sql</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/ldap-sync-fails-after-cleanalfproptablespostexec-sql/m-p/114028#M31699</link>
      <description>&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="unnamed.png" style="width: 484px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://connect.hyland.com/t5/image/serverpage/image-id/332i5278A213B28C775C/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;I was able to fix this issue by manually updating the Id's to Null in table for coloumn prop1_id&lt;BR /&gt;found out the root cause of this issue was breaking of alfresco schedule job called PostpropCleanerDetail job&lt;BR /&gt;the system was unable to find any property values of ID's in prop1_id coloumn and was throwing the error, on putting it to null the alfresco created new prop1_id automatically and all the errors disappeared and ldap sync started working. Deleting these Id's works the same way.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Nov 2023 19:09:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/ldap-sync-fails-after-cleanalfproptablespostexec-sql/m-p/114028#M31699</guid>
      <dc:creator>shriyam_gupta</dc:creator>
      <dc:date>2023-11-29T19:09:31Z</dc:date>
    </item>
  </channel>
</rss>

