<?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: Comparison between file names during CheckIn in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/comparison-between-file-names-during-checkin/m-p/290733#M243863</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;Maybe you can use the ContentServicePolicies#OnContentUpdatePolicy or NodeServicePolicies#OnUpdateNodePolicy and link your behaviour to the working copy aspect.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Feb 2015 08:46:40 GMT</pubDate>
    <dc:creator>mlagneaux</dc:creator>
    <dc:date>2015-02-11T08:46:40Z</dc:date>
    <item>
      <title>Comparison between file names during CheckIn</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/comparison-between-file-names-during-checkin/m-p/290730#M243860</link>
      <description>Hi everybody,This post concern the Alfresco Community Edition version 4.2.c but I think this can be extend to all Alfresco versions.I'm currently trying to develop a small feature to prevent Alfresco users to overwrite the content of a wrong file during a CheckOut/CheckIn. I already blocked the defa</description>
      <pubDate>Tue, 03 Feb 2015 11:51:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/comparison-between-file-names-during-checkin/m-p/290730#M243860</guid>
      <dc:creator>morganp1</dc:creator>
      <dc:date>2015-02-03T11:51:45Z</dc:date>
    </item>
    <item>
      <title>Re: Comparison between file names during CheckIn</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/comparison-between-file-names-during-checkin/m-p/290731#M243861</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;Let's say you have a file A.txt that has been checked out. Then you also have a file A(working copy).txt. As soon as this working copy is updated, you loose the name of the local file that has been used for the update : this information is lost.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think that a better solution would be to control that the names of the local file and the Alfresco node are the same when an update of the working copy is done.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Feb 2015 08:47:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/comparison-between-file-names-during-checkin/m-p/290731#M243861</guid>
      <dc:creator>mlagneaux</dc:creator>
      <dc:date>2015-02-04T08:47:46Z</dc:date>
    </item>
    <item>
      <title>Re: Comparison between file names during CheckIn</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/comparison-between-file-names-during-checkin/m-p/290732#M243862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi mlagneaux,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sure, you are right and this is what I want to do but the thing is that I don't really know where this verification can be done. If you take a look at the &amp;lt;a href="&lt;/SPAN&gt;&lt;A href="https://github.com/Alfresco/community-edition/blob/master/projects/repository/source/java/org/alfresco/repo/coci/CheckOutCheckInServiceImpl.java" rel="nofollow noopener noreferrer"&gt;https://github.com/Alfresco/community-edition/blob/master/projects/repository/source/java/org/alfresco/repo/coci/CheckOutCheckInServiceImpl.java&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;org.alfresco.repo.coci.CheckOutCheckInServiceImpl.java&amp;lt;/a&amp;gt;, you will see that the BeforeCheckIn is called before to copy the content of the WorkingCopy back into the Original Node… I don't know where does the content of the local file is copied to the WorkingCopy node.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Morgan&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Feb 2015 09:34:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/comparison-between-file-names-during-checkin/m-p/290732#M243862</guid>
      <dc:creator>morganp1</dc:creator>
      <dc:date>2015-02-04T09:34:35Z</dc:date>
    </item>
    <item>
      <title>Re: Comparison between file names during CheckIn</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/comparison-between-file-names-during-checkin/m-p/290733#M243863</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;Maybe you can use the ContentServicePolicies#OnContentUpdatePolicy or NodeServicePolicies#OnUpdateNodePolicy and link your behaviour to the working copy aspect.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Feb 2015 08:46:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/comparison-between-file-names-during-checkin/m-p/290733#M243863</guid>
      <dc:creator>mlagneaux</dc:creator>
      <dc:date>2015-02-11T08:46:40Z</dc:date>
    </item>
  </channel>
</rss>

