<?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: Custom action to change owner in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/custom-action-to-change-owner/m-p/173382#M126530</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;Have you checked what's on line 81 in OwnershipActionExecuter?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This may give you a clue as to what's going wrong. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Roy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Apr 2008 08:44:39 GMT</pubDate>
    <dc:creator>rwetherall</dc:creator>
    <dc:date>2008-04-11T08:44:39Z</dc:date>
    <item>
      <title>Custom action to change owner</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-action-to-change-owner/m-p/173379#M126527</link>
      <description>HelloFirst, excuse my bad English. I would like to create a space in which the users are collaborator (they can create and modify …), but they couldn't delete, or manage the rules or invited users. I don't want to desactivate the ROLE_OWNER global permission I thought to change the owner and I tried</description>
      <pubDate>Thu, 10 Apr 2008 12:35:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-action-to-change-owner/m-p/173379#M126527</guid>
      <dc:creator>babou27</dc:creator>
      <dc:date>2008-04-10T12:35:05Z</dc:date>
    </item>
    <item>
      <title>Re: Custom action to change owner</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-action-to-change-owner/m-p/173380#M126528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Have you checked this line ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Caused by: java.lang.NullPointerException&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at org.alfresco.sample.OwnershipActionExecuter.executeImpl(OwnershipActionExecuter.java:81)&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Apr 2008 13:31:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-action-to-change-owner/m-p/173380#M126528</guid>
      <dc:creator>rivarola</dc:creator>
      <dc:date>2008-04-10T13:31:08Z</dc:date>
    </item>
    <item>
      <title>Re: Custom action to change owner</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-action-to-change-owner/m-p/173381#M126529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I don't find where is the problem &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem appeared on the line&amp;nbsp; this.ownableService.setOwner(actionedUponNodeRef, authority);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Even if I replace authority by "admin" for make a test, it send me NullpointerException &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, I'm not sure I've checked the right thing&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you tell me how I suppose to do ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Apr 2008 03:18:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-action-to-change-owner/m-p/173381#M126529</guid>
      <dc:creator>babou27</dc:creator>
      <dc:date>2008-04-11T03:18:59Z</dc:date>
    </item>
    <item>
      <title>Re: Custom action to change owner</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-action-to-change-owner/m-p/173382#M126530</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;Have you checked what's on line 81 in OwnershipActionExecuter?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This may give you a clue as to what's going wrong. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Roy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Apr 2008 08:44:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-action-to-change-owner/m-p/173382#M126530</guid>
      <dc:creator>rwetherall</dc:creator>
      <dc:date>2008-04-11T08:44:39Z</dc:date>
    </item>
    <item>
      <title>Re: Custom action to change owner</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-action-to-change-owner/m-p/173383#M126531</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;I didn't explain very well&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;That is the line 81:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;this.ownableService.setOwner(actionedUponNodeRef, authority);&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;which return me NullPointerException.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, I tried to directly replace my parameter "authority" by String "admin" that is the name of my system user&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;it sent me the same error message.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Apr 2008 20:52:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-action-to-change-owner/m-p/173383#M126531</guid>
      <dc:creator>babou27</dc:creator>
      <dc:date>2008-04-11T20:52:50Z</dc:date>
    </item>
    <item>
      <title>Re: Custom action to change owner</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-action-to-change-owner/m-p/173384#M126532</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;SPAN&gt;If you're getting a NullPointer in this line and not on the setOwner method the only solution is, that your ownableService member is null.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Please check this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers, Jan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Apr 2008 10:12:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-action-to-change-owner/m-p/173384#M126532</guid>
      <dc:creator>jpfi</dc:creator>
      <dc:date>2008-04-12T10:12:11Z</dc:date>
    </item>
    <item>
      <title>Re: Custom action to change owner</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-action-to-change-owner/m-p/173385#M126533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for your help&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I didn't initialize the ownableservice. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Now it work but I've a question &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The rule doesn't work if the user hasn't the setOwner permission. That's a normal comportment but I would like to get over it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What is the best way to do that ? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 13 Apr 2008 01:13:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-action-to-change-owner/m-p/173385#M126533</guid>
      <dc:creator>babou27</dc:creator>
      <dc:date>2008-04-13T01:13:25Z</dc:date>
    </item>
  </channel>
</rss>

