{"action":"created","issue":{"url":"https://api.github.com/repos/migue/liferay-portal/issues/777","repository_url":"https://api.github.com/repos/migue/liferay-portal","labels_url":"https://api.github.com/repos/migue/liferay-portal/issues/777/labels{/name}","comments_url":"https://api.github.com/repos/migue/liferay-portal/issues/777/comments","events_url":"https://api.github.com/repos/migue/liferay-portal/issues/777/events","html_url":"https://github.com/migue/liferay-portal/pull/777","id":151402868,"number":777,"title":"LPS-65389 Show the Display portlet mapping in the UI","user":{"login":"adolfopa","id":729897,"avatar_url":"https://avatars.githubusercontent.com/u/729897?v=3","gravatar_id":"","url":"https://api.github.com/users/adolfopa","html_url":"https://github.com/adolfopa","followers_url":"https://api.github.com/users/adolfopa/followers","following_url":"https://api.github.com/users/adolfopa/following{/other_user}","gists_url":"https://api.github.com/users/adolfopa/gists{/gist_id}","starred_url":"https://api.github.com/users/adolfopa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adolfopa/subscriptions","organizations_url":"https://api.github.com/users/adolfopa/orgs","repos_url":"https://api.github.com/users/adolfopa/repos","events_url":"https://api.github.com/users/adolfopa/events{/privacy}","received_events_url":"https://api.github.com/users/adolfopa/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2016-04-27T14:39:41Z","updated_at":"2016-04-27T16:21:47Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/migue/liferay-portal/pulls/777","html_url":"https://github.com/migue/liferay-portal/pull/777","diff_url":"https://github.com/migue/liferay-portal/pull/777.diff","patch_url":"https://github.com/migue/liferay-portal/pull/777.patch"},"body":"@migue In the first two commits I've changed the behaviour of the `getFriendlyURLMapping` and `getFriendlyURLMapperInstance` methods.\r\n\r\n`getFriendlyURLMapping` used to return the value of the `friendly-url-mapping` property declared in the Portlet component. The thing is, that property is almost always unset in the portlet, it is usually defined in friendly url mappers, and so, almost 100% of the time that method returned `null`.\r\n\r\nNot sure if that behaviour was intentional, but I've changed it so that it asks the mapper (if any) for the current friendly url mapping. I believe the original behaviour is not very useful.\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/migue/liferay-portal/issues/comments/215137312","html_url":"https://github.com/migue/liferay-portal/pull/777#issuecomment-215137312","issue_url":"https://api.github.com/repos/migue/liferay-portal/issues/777","id":215137312,"user":{"login":"adolfopa","id":729897,"avatar_url":"https://avatars.githubusercontent.com/u/729897?v=3","gravatar_id":"","url":"https://api.github.com/users/adolfopa","html_url":"https://github.com/adolfopa","followers_url":"https://api.github.com/users/adolfopa/followers","following_url":"https://api.github.com/users/adolfopa/following{/other_user}","gists_url":"https://api.github.com/users/adolfopa/gists{/gist_id}","starred_url":"https://api.github.com/users/adolfopa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adolfopa/subscriptions","organizations_url":"https://api.github.com/users/adolfopa/orgs","repos_url":"https://api.github.com/users/adolfopa/repos","events_url":"https://api.github.com/users/adolfopa/events{/privacy}","received_events_url":"https://api.github.com/users/adolfopa/received_events","type":"User","site_admin":false},"created_at":"2016-04-27T16:21:47Z","updated_at":"2016-04-27T16:21:47Z","body":"ci:retest"}}