{"action":"created","issue":{"url":"https://api.github.com/repos/OTRS/otrs/issues/595","labels_url":"https://api.github.com/repos/OTRS/otrs/issues/595/labels{/name}","comments_url":"https://api.github.com/repos/OTRS/otrs/issues/595/comments","events_url":"https://api.github.com/repos/OTRS/otrs/issues/595/events","html_url":"https://github.com/OTRS/otrs/pull/595","id":81976632,"number":595,"title":" Master port to OM - OutputFilter","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":3,"created_at":"2015-05-28T15:15:02Z","updated_at":"2015-05-29T11:34:38Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/OTRS/otrs/pulls/595","html_url":"https://github.com/OTRS/otrs/pull/595","diff_url":"https://github.com/OTRS/otrs/pull/595.diff","patch_url":"https://github.com/OTRS/otrs/pull/595.patch"},"body":"Hello,\r\n\r\nHere's PR with ported OutputFilter's modules. During porting and creating Selenium test for OutputFilterTextAutoLink.pm, we stumble upon problem. This module did not work for us when activated.\r\nAfter some thorough research and testing of module, we found out, what we think is possible cause of bug. RegExp is correctly loaded from SysConfig, but it seems that at line 76 it is not assigned correctly further to MatchData. We tried to bypass it by hardcoding RegExp there and assigning it to MatchData, which worked partially. What we tried is:  replacing \"(m{([\\s:]$RegExp)}gxi)\" with just \"$RegExp\". In AgentTicketZoom it did indeed matched and inserted appropriate images and links but in the middle of matched text. This might be totally wrong approach and way, but it was one of many ideas we tried around during testing.\r\n\r\nOur field of expertise with RegExp (will work on improving it), limit us further investigating cause of problem, hopefully you can help us there and point in right direction.\r\n\r\nIt seems that this issue is long known to you, it is reported in bug #3923 and been popping up over the years by various bug reporters. Please just let us know if this module works ok for you, or is it work in progress.\r\n\r\nKing regards,\r\nSanjin\r\nS7\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/OTRS/otrs/issues/comments/106779719","html_url":"https://github.com/OTRS/otrs/pull/595#issuecomment-106779719","issue_url":"https://api.github.com/repos/OTRS/otrs/issues/595","id":106779719,"user":{"login":"mgruner","id":211281,"avatar_url":"https://avatars.githubusercontent.com/u/211281?v=3","gravatar_id":"","url":"https://api.github.com/users/mgruner","html_url":"https://github.com/mgruner","followers_url":"https://api.github.com/users/mgruner/followers","following_url":"https://api.github.com/users/mgruner/following{/other_user}","gists_url":"https://api.github.com/users/mgruner/gists{/gist_id}","starred_url":"https://api.github.com/users/mgruner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgruner/subscriptions","organizations_url":"https://api.github.com/users/mgruner/orgs","repos_url":"https://api.github.com/users/mgruner/repos","events_url":"https://api.github.com/users/mgruner/events{/privacy}","received_events_url":"https://api.github.com/users/mgruner/received_events","type":"User","site_admin":false},"created_at":"2015-05-29T11:34:38Z","updated_at":"2015-05-29T11:34:38Z","body":"Sorry for the misinformation in the first place."}}