<?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 PermissionService.deletePermissions throwing DataIntegrityViolationException in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/permissionservice-deletepermissions-throwing/m-p/124437#M34003</link>
    <description>&lt;P&gt;Usage of&amp;nbsp;permissionService.deletePermissions started throwing&amp;nbsp;DataIntegrityViolationException in certain cases when calling this method prior to setting permissions:&lt;/P&gt;&lt;DIV&gt;&lt;PRE&gt;&lt;SPAN&gt;permissionService&lt;/SPAN&gt;.deletePermissions(nodeRef)&lt;/PRE&gt;&lt;P&gt;Detailed exception message also contains following information:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;PRE&gt;Cause: org.postgresql.util.PSQLException: ERROR: update or delete on table "alf_access_control_list" violates foreign key constraint "fk_alf_node_acl" on table "alf_node"
Detail: Key (id)=(38685) is still referenced from table "alf_node".&lt;/PRE&gt;&lt;/DIV&gt;&lt;DIV&gt;Querying the database returns valid related nodes that are content, thumbnails etc. of the folder that is having permissions set.&lt;BR /&gt;&lt;BR /&gt;Any pointers?&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Mon, 31 Jul 2023 22:32:16 GMT</pubDate>
    <dc:creator>drive954</dc:creator>
    <dc:date>2023-07-31T22:32:16Z</dc:date>
    <item>
      <title>PermissionService.deletePermissions throwing DataIntegrityViolationException</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/permissionservice-deletepermissions-throwing/m-p/124437#M34003</link>
      <description>&lt;P&gt;Usage of&amp;nbsp;permissionService.deletePermissions started throwing&amp;nbsp;DataIntegrityViolationException in certain cases when calling this method prior to setting permissions:&lt;/P&gt;&lt;DIV&gt;&lt;PRE&gt;&lt;SPAN&gt;permissionService&lt;/SPAN&gt;.deletePermissions(nodeRef)&lt;/PRE&gt;&lt;P&gt;Detailed exception message also contains following information:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;PRE&gt;Cause: org.postgresql.util.PSQLException: ERROR: update or delete on table "alf_access_control_list" violates foreign key constraint "fk_alf_node_acl" on table "alf_node"
Detail: Key (id)=(38685) is still referenced from table "alf_node".&lt;/PRE&gt;&lt;/DIV&gt;&lt;DIV&gt;Querying the database returns valid related nodes that are content, thumbnails etc. of the folder that is having permissions set.&lt;BR /&gt;&lt;BR /&gt;Any pointers?&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 31 Jul 2023 22:32:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/permissionservice-deletepermissions-throwing/m-p/124437#M34003</guid>
      <dc:creator>drive954</dc:creator>
      <dc:date>2023-07-31T22:32:16Z</dc:date>
    </item>
    <item>
      <title>Re: PermissionService.deletePermissions throwing DataIntegrityViolationException</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/permissionservice-deletepermissions-throwing/m-p/124438#M34004</link>
      <description>&lt;P&gt;Can you inspect the permissions of the nodeRef in question? Did you also tried this manually?&lt;/P&gt;</description>
      <pubDate>Tue, 01 Aug 2023 14:08:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/permissionservice-deletepermissions-throwing/m-p/124438#M34004</guid>
      <dc:creator>abhinavmishra14</dc:creator>
      <dc:date>2023-08-01T14:08:42Z</dc:date>
    </item>
  </channel>
</rss>

