{"action":"created","issue":{"url":"https://api.github.com/repos/OTRS/otrs/issues/1118","repository_url":"https://api.github.com/repos/OTRS/otrs","labels_url":"https://api.github.com/repos/OTRS/otrs/issues/1118/labels{/name}","comments_url":"https://api.github.com/repos/OTRS/otrs/issues/1118/comments","events_url":"https://api.github.com/repos/OTRS/otrs/issues/1118/events","html_url":"https://github.com/OTRS/otrs/pull/1118","id":146942934,"number":1118,"title":"[Rel-5_0] - UnitTest - CustomerRealName","user":{"login":"s7design","id":6348760,"avatar_url":"https://avatars.githubusercontent.com/u/6348760?v=3","gravatar_id":"","url":"https://api.github.com/users/s7design","html_url":"https://github.com/s7design","followers_url":"https://api.github.com/users/s7design/followers","following_url":"https://api.github.com/users/s7design/following{/other_user}","gists_url":"https://api.github.com/users/s7design/gists{/gist_id}","starred_url":"https://api.github.com/users/s7design/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/s7design/subscriptions","organizations_url":"https://api.github.com/users/s7design/orgs","repos_url":"https://api.github.com/users/s7design/repos","events_url":"https://api.github.com/users/s7design/events{/privacy}","received_events_url":"https://api.github.com/users/s7design/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-08T14:25:13Z","updated_at":"2016-04-11T09:14:23Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/OTRS/otrs/pulls/1118","html_url":"https://github.com/OTRS/otrs/pull/1118","diff_url":"https://github.com/OTRS/otrs/pull/1118.diff","patch_url":"https://github.com/OTRS/otrs/pull/1118.patch"},"body":"Hello @mrcbnsls ,\r\n\r\nHereby is extended unit test for CustomerRealName from the bug #795 . There was an issue when $From needs to be taken from Recipients, param RealName doesn't exists in Recipients. Corrected typo to param Realname and now it perform as expected.\r\n\r\nIn unit test added 2 more scenarios when there is customer ID and one more with recipient, Additionally included notification tag check, since it differs then auto response.\r\n\r\nPlease let me know what do you think about this proposal and if there are any questions regarding this PR, feel free to ask.\r\n\r\nRegards,\r\nSanjin"},"comment":{"url":"https://api.github.com/repos/OTRS/otrs/issues/comments/208244399","html_url":"https://github.com/OTRS/otrs/pull/1118#issuecomment-208244399","issue_url":"https://api.github.com/repos/OTRS/otrs/issues/1118","id":208244399,"user":{"login":"s7design","id":6348760,"avatar_url":"https://avatars.githubusercontent.com/u/6348760?v=3","gravatar_id":"","url":"https://api.github.com/users/s7design","html_url":"https://github.com/s7design","followers_url":"https://api.github.com/users/s7design/followers","following_url":"https://api.github.com/users/s7design/following{/other_user}","gists_url":"https://api.github.com/users/s7design/gists{/gist_id}","starred_url":"https://api.github.com/users/s7design/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/s7design/subscriptions","organizations_url":"https://api.github.com/users/s7design/orgs","repos_url":"https://api.github.com/users/s7design/repos","events_url":"https://api.github.com/users/s7design/events{/privacy}","received_events_url":"https://api.github.com/users/s7design/received_events","type":"User","site_admin":false},"created_at":"2016-04-11T09:14:23Z","updated_at":"2016-04-11T09:14:23Z","body":"Hi @mrcbnsls \r\n\r\nI updated this PR, I believe it works now. You can see that we solved one issue that occurred in Kernel/System/Ticket/Event/NotificationEvent.pm. If Recipient is not stored in DB ( ie. there is not UserID which is used for $AlreadySent{ $Bundle->{Recipient}->{UserID} } = 1; ) there was message in log  'Use of uninitialized value in hash element at /opt/otrs//Kernel/System/Ticket/Event/NotificationEvent.pm line 303'\r\n\r\nPlease let me know if we can improve this test.\r\n\r\nRegards\r\nZoran"}}