<?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 User activity notifications not send in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/user-activity-notifications-not-send/m-p/55492#M20268</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Everybody!&lt;/P&gt;&lt;P&gt;We have a fresh Alfresco community 5.2.0 that was working perfectly. Some day ago users started import documents loading through CIF (ctrl-c and ctrl-v of directories from intranet to Z:\Alfresco\Sites\some-site\documentLibrary\).:&lt;/P&gt;&lt;P&gt;Now daily users activity notification via mail doesn't work. If I look in Alfresco.log can see these errors occurring at 00:00, when activity notification emails should start:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2018-03-01 00:00:01,418 ERROR [freemarker.runtime] [FeedNotifier1] Error executing FreeMarker template&lt;BR /&gt;FreeMarker template error:&lt;BR /&gt;The following has evaluated to null or missing:&lt;BR /&gt;==&amp;gt; {activity.activitySummary.pag [in template "workspace://SpacesStore/36557e09-2e9f-4a78-aa17-48a1b69ec0e1" at line 53, column 130]&lt;/P&gt;&lt;P&gt;Tip: If the failing expression is known to be legally null/missing, either specify a default value with myOptionalVar!myDefault, or use &amp;lt;#if myOptionalVar??&amp;gt;when-present&amp;lt;#else&amp;gt;when-missing&amp;lt;/#if&amp;gt;. (These only cover the last step of the expression; to cover the whole expression, use parenthessis: (myOptionVar.foo)!myDefault, (myOptionVar.foo)??&lt;/P&gt;&lt;P&gt;The failing instruction (FTL stack trace):&lt;BR /&gt;----------&lt;BR /&gt;==&amp;gt; ${activity.activitySummary.page?html!""} [in template "workspace://SpacesStore/36557e09-2e9f-4a78-aa17-48a1b69ec0e1" at line 53, column 128]&lt;BR /&gt; #assign itemLink = "\la href=\"\${sha... [in template "workspace://SpacesStore/36557e09-2e9f-4a78-aa17-48a1b69ec0e1" at line 53, column 49]&lt;BR /&gt;----------&lt;/P&gt;&lt;P&gt;Java stack trace (for programmers):&lt;BR /&gt;----------&lt;BR /&gt;freemarker.core.InvalidReferenceException: [... Exception message was already printed; see it above ...]&lt;BR /&gt; at freemarker.core.InvalidReferenceException.getInstance(InvalidReferenceException.java:98)....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I googled for some solutions but found only on user with the same issue and his issue was resolved "magically" by itself!.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;Thank you in advance for any help!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Mar 2018 15:48:15 GMT</pubDate>
    <dc:creator>adalgix</dc:creator>
    <dc:date>2018-03-01T15:48:15Z</dc:date>
    <item>
      <title>User activity notifications not send</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/user-activity-notifications-not-send/m-p/55492#M20268</link>
      <description>Hello Everybody!We have a fresh Alfresco community 5.2.0 that was working perfectly. Some day ago users started import documents loading through CIF (ctrl-c and ctrl-v of directories from intranet to Z:\Alfresco\Sites\some-site\documentLibrary\).:Now daily users activity notification via mail doesn'</description>
      <pubDate>Thu, 01 Mar 2018 15:48:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/user-activity-notifications-not-send/m-p/55492#M20268</guid>
      <dc:creator>adalgix</dc:creator>
      <dc:date>2018-03-01T15:48:15Z</dc:date>
    </item>
    <item>
      <title>Re: User activity notifications not send</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/user-activity-notifications-not-send/m-p/55493#M20269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;H&lt;SPAN style="font-size: 15px;"&gt;ello&lt;SPAN style="background-color: #ffffff; color: #8b8b8b;"&gt;,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #8b8b8b; font-size: 15px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #000000; font-size: 15px; "&gt;I had the same issue. T&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; color: #8b8b8b; font-size: 15px;"&gt;&lt;SPAN style="color: #000000;"&gt;here is a bug in the ftl template, to fix that just go to alfresco share "Repository/Data Dictionary/Email Templates/activities" and edit the file activities-email.ftl. Go to the line you are getting the error&amp;nbsp;&lt;SPAN style="color: #ff0000;"&gt;${activity.activitySummary.page?html!\"\"}&amp;nbsp;&lt;SPAN style="color: #000000;"&gt;and change it to&amp;nbsp;&lt;SPAN style="color: #339966; background-color: #ffffff;"&gt;${(activity.activitySummary.page?html)!\"\"}&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #000000; font-size: 15px; "&gt;As you can see I just added parenthesis to cover the entire expression.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #000000; font-size: 15px; "&gt;Don't forget to restart the server.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #000000; font-size: 15px; "&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Mar 2019 16:23:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/user-activity-notifications-not-send/m-p/55493#M20269</guid>
      <dc:creator>ebrenes</dc:creator>
      <dc:date>2019-03-11T16:23:17Z</dc:date>
    </item>
  </channel>
</rss>

