{"action":"created","comment":{"url":"https://api.github.com/repos/exodev/commons/pulls/comments/71883830","id":71883830,"diff_hunk":"@@ -427,24 +426,31 @@ private NodeIterator getDigestIterator(NotificationContext context, SessionProvi\n    * @throws Exception\n    */\n   private UserSetting fillModel(Node node) throws Exception {\n-    UserSetting model = UserSetting.getInstance();\n-    model.setUserId(node.getParent().getName());\n-    model.setDailyPlugins(getValues(node, EXO_DAILY));\n-    model.setWeeklyPlugins(getValues(node, EXO_WEEKLY));\n-    //\n-    model.setChannelActives(getValues(node, EXO_IS_ACTIVE));\n-    //\n-    List<AbstractChannel> channels = channelManager.getChannels();\n-    for (AbstractChannel channel : channels) {\n-      model.setChannelPlugins(channel.getId(), getValues(node, getChannelProperty(channel.getId())));\n-    }\n-    //\n-    model.setLastUpdateTime(node.getParent().getProperty(EXO_LAST_MODIFIED_DATE).getDate());\n-    //\n-    if (node.hasProperty(EXO_IS_ENABLED)) {\n-      model.setEnabled(Boolean.valueOf(node.getProperty(EXO_IS_ENABLED).getString()));\n+    if(!node.getParent().hasProperty( EXO_LAST_MODIFIED_DATE)){\n+      if(node.getParent().canAddMixin(\"exo:modify\")) {\n+        node.getParent().addMixin(\"exo:modify\");\n+      }\n+      node.getParent().setProperty(EXO_LAST_MODIFIED_DATE, Calendar.getInstance());","path":"commons-component-common/src/main/java/org/exoplatform/commons/notification/impl/setting/UserSettingServiceImpl.java","position":39,"original_position":39,"commit_id":"365cd1f396de0855124528c24c5f42e50800acca","original_commit_id":"365cd1f396de0855124528c24c5f42e50800acca","user":{"login":"thomasdelhomenie","id":342645,"avatar_url":"https://avatars.githubusercontent.com/u/342645?v=3","gravatar_id":"","url":"https://api.github.com/users/thomasdelhomenie","html_url":"https://github.com/thomasdelhomenie","followers_url":"https://api.github.com/users/thomasdelhomenie/followers","following_url":"https://api.github.com/users/thomasdelhomenie/following{/other_user}","gists_url":"https://api.github.com/users/thomasdelhomenie/gists{/gist_id}","starred_url":"https://api.github.com/users/thomasdelhomenie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thomasdelhomenie/subscriptions","organizations_url":"https://api.github.com/users/thomasdelhomenie/orgs","repos_url":"https://api.github.com/users/thomasdelhomenie/repos","events_url":"https://api.github.com/users/thomasdelhomenie/events{/privacy}","received_events_url":"https://api.github.com/users/thomasdelhomenie/received_events","type":"User","site_admin":false},"body":"Is it possible to fall in the case of the \"exo:modify\" has not been added here, so the property cannot be set ?","created_at":"2016-07-22T14:07:19Z","updated_at":"2016-07-22T14:07:19Z","html_url":"https://github.com/exodev/commons/pull/47#discussion_r71883830","pull_request_url":"https://api.github.com/repos/exodev/commons/pulls/47","_links":{"self":{"href":"https://api.github.com/repos/exodev/commons/pulls/comments/71883830"},"html":{"href":"https://github.com/exodev/commons/pull/47#discussion_r71883830"},"pull_request":{"href":"https://api.github.com/repos/exodev/commons/pulls/47"}}},"pull_request":{"url":"https://api.github.com/repos/exodev/commons/pulls/47","id":73372028,"html_url":"https://github.com/exodev/commons/pull/47","diff_url":"https://github.com/exodev/commons/pull/47.diff","patch_url":"https://github.com/exodev/commons/pull/47.patch","issue_url":"https://api.github.com/repos/exodev/commons/issues/47","number":47,"state":"open","locked":false,"title":"PLF-6642:Property exo:lastModifiedDate not found when the daily and w…","user":{"login":"mkrout","id":1576267,"avatar_url":"https://avatars.githubusercontent.com/u/1576267?v=3","gravatar_id":"","url":"https://api.github.com/users/mkrout","html_url":"https://github.com/mkrout","followers_url":"https://api.github.com/users/mkrout/followers","following_url":"https://api.github.com/users/mkrout/following{/other_user}","gists_url":"https://api.github.com/users/mkrout/gists{/gist_id}","starred_url":"https://api.github.com/users/mkrout/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkrout/subscriptions","organizations_url":"https://api.github.com/users/mkrout/orgs","repos_url":"https://api.github.com/users/mkrout/repos","events_url":"https://api.github.com/users/mkrout/events{/privacy}","received_events_url":"https://api.github.com/users/mkrout/received_events","type":"User","site_admin":false},"body":"…eekly notifications jobs are executed","created_at":"2016-06-10T13:18:31Z","updated_at":"2016-07-22T14:07:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a62a495c6209fc4af373e980369f58f6bbbb56c8","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/exodev/commons/pulls/47/commits","review_comments_url":"https://api.github.com/repos/exodev/commons/pulls/47/comments","review_comment_url":"https://api.github.com/repos/exodev/commons/pulls/comments{/number}","comments_url":"https://api.github.com/repos/exodev/commons/issues/47/comments","statuses_url":"https://api.github.com/repos/exodev/commons/statuses/365cd1f396de0855124528c24c5f42e50800acca","head":{"label":"exodev:fix/4.4.x/PLF-6642","ref":"fix/4.4.x/PLF-6642","sha":"365cd1f396de0855124528c24c5f42e50800acca","user":{"login":"exodev","id":1606522,"avatar_url":"https://avatars.githubusercontent.com/u/1606522?v=3","gravatar_id":"","url":"https://api.github.com/users/exodev","html_url":"https://github.com/exodev","followers_url":"https://api.github.com/users/exodev/followers","following_url":"https://api.github.com/users/exodev/following{/other_user}","gists_url":"https://api.github.com/users/exodev/gists{/gist_id}","starred_url":"https://api.github.com/users/exodev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/exodev/subscriptions","organizations_url":"https://api.github.com/users/exodev/orgs","repos_url":"https://api.github.com/users/exodev/repos","events_url":"https://api.github.com/users/exodev/events{/privacy}","received_events_url":"https://api.github.com/users/exodev/received_events","type":"Organization","site_admin":false},"repo":{"id":3999538,"name":"commons","full_name":"exodev/commons","owner":{"login":"exodev","id":1606522,"avatar_url":"https://avatars.githubusercontent.com/u/1606522?v=3","gravatar_id":"","url":"https://api.github.com/users/exodev","html_url":"https://github.com/exodev","followers_url":"https://api.github.com/users/exodev/followers","following_url":"https://api.github.com/users/exodev/following{/other_user}","gists_url":"https://api.github.com/users/exodev/gists{/gist_id}","starred_url":"https://api.github.com/users/exodev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/exodev/subscriptions","organizations_url":"https://api.github.com/users/exodev/orgs","repos_url":"https://api.github.com/users/exodev/repos","events_url":"https://api.github.com/users/exodev/events{/privacy}","received_events_url":"https://api.github.com/users/exodev/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/exodev/commons","description":"eXo Commons","fork":true,"url":"https://api.github.com/repos/exodev/commons","forks_url":"https://api.github.com/repos/exodev/commons/forks","keys_url":"https://api.github.com/repos/exodev/commons/keys{/key_id}","collaborators_url":"https://api.github.com/repos/exodev/commons/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/exodev/commons/teams","hooks_url":"https://api.github.com/repos/exodev/commons/hooks","issue_events_url":"https://api.github.com/repos/exodev/commons/issues/events{/number}","events_url":"https://api.github.com/repos/exodev/commons/events","assignees_url":"https://api.github.com/repos/exodev/commons/assignees{/user}","branches_url":"https://api.github.com/repos/exodev/commons/branches{/branch}","tags_url":"https://api.github.com/repos/exodev/commons/tags","blobs_url":"https://api.github.com/repos/exodev/commons/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/exodev/commons/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/exodev/commons/git/refs{/sha}","trees_url":"https://api.github.com/repos/exodev/commons/git/trees{/sha}","statuses_url":"https://api.github.com/repos/exodev/commons/statuses/{sha}","languages_url":"https://api.github.com/repos/exodev/commons/languages","stargazers_url":"https://api.github.com/repos/exodev/commons/stargazers","contributors_url":"https://api.github.com/repos/exodev/commons/contributors","subscribers_url":"https://api.github.com/repos/exodev/commons/subscribers","subscription_url":"https://api.github.com/repos/exodev/commons/subscription","commits_url":"https://api.github.com/repos/exodev/commons/commits{/sha}","git_commits_url":"https://api.github.com/repos/exodev/commons/git/commits{/sha}","comments_url":"https://api.github.com/repos/exodev/commons/comments{/number}","issue_comment_url":"https://api.github.com/repos/exodev/commons/issues/comments{/number}","contents_url":"https://api.github.com/repos/exodev/commons/contents/{+path}","compare_url":"https://api.github.com/repos/exodev/commons/compare/{base}...{head}","merges_url":"https://api.github.com/repos/exodev/commons/merges","archive_url":"https://api.github.com/repos/exodev/commons/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/exodev/commons/downloads","issues_url":"https://api.github.com/repos/exodev/commons/issues{/number}","pulls_url":"https://api.github.com/repos/exodev/commons/pulls{/number}","milestones_url":"https://api.github.com/repos/exodev/commons/milestones{/number}","notifications_url":"https://api.github.com/repos/exodev/commons/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/exodev/commons/labels{/name}","releases_url":"https://api.github.com/repos/exodev/commons/releases{/id}","deployments_url":"https://api.github.com/repos/exodev/commons/deployments","created_at":"2012-04-11T23:36:57Z","updated_at":"2015-05-07T08:02:44Z","pushed_at":"2016-07-22T12:41:31Z","git_url":"git://github.com/exodev/commons.git","ssh_url":"git@github.com:exodev/commons.git","clone_url":"https://github.com/exodev/commons.git","svn_url":"https://github.com/exodev/commons","homepage":null,"size":16603,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":false,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":16,"mirror_url":null,"open_issues_count":5,"forks":16,"open_issues":5,"watchers":3,"default_branch":"develop"}},"base":{"label":"exodev:develop","ref":"develop","sha":"17b9f722d85025dab16db06fd69870310e60a561","user":{"login":"exodev","id":1606522,"avatar_url":"https://avatars.githubusercontent.com/u/1606522?v=3","gravatar_id":"","url":"https://api.github.com/users/exodev","html_url":"https://github.com/exodev","followers_url":"https://api.github.com/users/exodev/followers","following_url":"https://api.github.com/users/exodev/following{/other_user}","gists_url":"https://api.github.com/users/exodev/gists{/gist_id}","starred_url":"https://api.github.com/users/exodev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/exodev/subscriptions","organizations_url":"https://api.github.com/users/exodev/orgs","repos_url":"https://api.github.com/users/exodev/repos","events_url":"https://api.github.com/users/exodev/events{/privacy}","received_events_url":"https://api.github.com/users/exodev/received_events","type":"Organization","site_admin":false},"repo":{"id":3999538,"name":"commons","full_name":"exodev/commons","owner":{"login":"exodev","id":1606522,"avatar_url":"https://avatars.githubusercontent.com/u/1606522?v=3","gravatar_id":"","url":"https://api.github.com/users/exodev","html_url":"https://github.com/exodev","followers_url":"https://api.github.com/users/exodev/followers","following_url":"https://api.github.com/users/exodev/following{/other_user}","gists_url":"https://api.github.com/users/exodev/gists{/gist_id}","starred_url":"https://api.github.com/users/exodev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/exodev/subscriptions","organizations_url":"https://api.github.com/users/exodev/orgs","repos_url":"https://api.github.com/users/exodev/repos","events_url":"https://api.github.com/users/exodev/events{/privacy}","received_events_url":"https://api.github.com/users/exodev/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/exodev/commons","description":"eXo Commons","fork":true,"url":"https://api.github.com/repos/exodev/commons","forks_url":"https://api.github.com/repos/exodev/commons/forks","keys_url":"https://api.github.com/repos/exodev/commons/keys{/key_id}","collaborators_url":"https://api.github.com/repos/exodev/commons/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/exodev/commons/teams","hooks_url":"https://api.github.com/repos/exodev/commons/hooks","issue_events_url":"https://api.github.com/repos/exodev/commons/issues/events{/number}","events_url":"https://api.github.com/repos/exodev/commons/events","assignees_url":"https://api.github.com/repos/exodev/commons/assignees{/user}","branches_url":"https://api.github.com/repos/exodev/commons/branches{/branch}","tags_url":"https://api.github.com/repos/exodev/commons/tags","blobs_url":"https://api.github.com/repos/exodev/commons/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/exodev/commons/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/exodev/commons/git/refs{/sha}","trees_url":"https://api.github.com/repos/exodev/commons/git/trees{/sha}","statuses_url":"https://api.github.com/repos/exodev/commons/statuses/{sha}","languages_url":"https://api.github.com/repos/exodev/commons/languages","stargazers_url":"https://api.github.com/repos/exodev/commons/stargazers","contributors_url":"https://api.github.com/repos/exodev/commons/contributors","subscribers_url":"https://api.github.com/repos/exodev/commons/subscribers","subscription_url":"https://api.github.com/repos/exodev/commons/subscription","commits_url":"https://api.github.com/repos/exodev/commons/commits{/sha}","git_commits_url":"https://api.github.com/repos/exodev/commons/git/commits{/sha}","comments_url":"https://api.github.com/repos/exodev/commons/comments{/number}","issue_comment_url":"https://api.github.com/repos/exodev/commons/issues/comments{/number}","contents_url":"https://api.github.com/repos/exodev/commons/contents/{+path}","compare_url":"https://api.github.com/repos/exodev/commons/compare/{base}...{head}","merges_url":"https://api.github.com/repos/exodev/commons/merges","archive_url":"https://api.github.com/repos/exodev/commons/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/exodev/commons/downloads","issues_url":"https://api.github.com/repos/exodev/commons/issues{/number}","pulls_url":"https://api.github.com/repos/exodev/commons/pulls{/number}","milestones_url":"https://api.github.com/repos/exodev/commons/milestones{/number}","notifications_url":"https://api.github.com/repos/exodev/commons/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/exodev/commons/labels{/name}","releases_url":"https://api.github.com/repos/exodev/commons/releases{/id}","deployments_url":"https://api.github.com/repos/exodev/commons/deployments","created_at":"2012-04-11T23:36:57Z","updated_at":"2015-05-07T08:02:44Z","pushed_at":"2016-07-22T12:41:31Z","git_url":"git://github.com/exodev/commons.git","ssh_url":"git@github.com:exodev/commons.git","clone_url":"https://github.com/exodev/commons.git","svn_url":"https://github.com/exodev/commons","homepage":null,"size":16603,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":false,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":16,"mirror_url":null,"open_issues_count":5,"forks":16,"open_issues":5,"watchers":3,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/exodev/commons/pulls/47"},"html":{"href":"https://github.com/exodev/commons/pull/47"},"issue":{"href":"https://api.github.com/repos/exodev/commons/issues/47"},"comments":{"href":"https://api.github.com/repos/exodev/commons/issues/47/comments"},"review_comments":{"href":"https://api.github.com/repos/exodev/commons/pulls/47/comments"},"review_comment":{"href":"https://api.github.com/repos/exodev/commons/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/exodev/commons/pulls/47/commits"},"statuses":{"href":"https://api.github.com/repos/exodev/commons/statuses/365cd1f396de0855124528c24c5f42e50800acca"}}}}
{"actor":{"display_login":"thomasdelhomenie"}}