{"action":"created","issue":{"url":"https://api.github.com/repos/jonathanmccann/liferay-portal/issues/749","labels_url":"https://api.github.com/repos/jonathanmccann/liferay-portal/issues/749/labels{/name}","comments_url":"https://api.github.com/repos/jonathanmccann/liferay-portal/issues/749/comments","events_url":"https://api.github.com/repos/jonathanmccann/liferay-portal/issues/749/events","html_url":"https://github.com/jonathanmccann/liferay-portal/pull/749","id":91096547,"number":749,"title":"LPS-56313","user":{"login":"BryanEngler","id":2111174,"avatar_url":"https://avatars.githubusercontent.com/u/2111174?v=3","gravatar_id":"","url":"https://api.github.com/users/BryanEngler","html_url":"https://github.com/BryanEngler","followers_url":"https://api.github.com/users/BryanEngler/followers","following_url":"https://api.github.com/users/BryanEngler/following{/other_user}","gists_url":"https://api.github.com/users/BryanEngler/gists{/gist_id}","starred_url":"https://api.github.com/users/BryanEngler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BryanEngler/subscriptions","organizations_url":"https://api.github.com/users/BryanEngler/orgs","repos_url":"https://api.github.com/users/BryanEngler/repos","events_url":"https://api.github.com/users/BryanEngler/events{/privacy}","received_events_url":"https://api.github.com/users/BryanEngler/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-25T22:49:25Z","updated_at":"2015-06-26T16:29:59Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/jonathanmccann/liferay-portal/pulls/749","html_url":"https://github.com/jonathanmccann/liferay-portal/pull/749","diff_url":"https://github.com/jonathanmccann/liferay-portal/pull/749.diff","patch_url":"https://github.com/jonathanmccann/liferay-portal/pull/749.patch"},"body":"it might not be clear how this fix works so just a little explaination...\nif youre filtering an AP using categories, and you delete a category, the AP configurations dont get updated until you save them again. so its still going to be using the deleted categoryId as an argument in the search. so in the case of an ALL type search (using an AND operator), its going to return no results. so we just filter out the non existant ids before calling assetEntryQuery.setAllCategoryIds(). we dont have to worry about the assetEntryQuery.setAnyCategoryIds() because thats an ANY (OR operator) search. if its still not clear just let me know"},"comment":{"url":"https://api.github.com/repos/jonathanmccann/liferay-portal/issues/comments/115747194","html_url":"https://github.com/jonathanmccann/liferay-portal/pull/749#issuecomment-115747194","issue_url":"https://api.github.com/repos/jonathanmccann/liferay-portal/issues/749","id":115747194,"user":{"login":"jonathanmccann","id":1919610,"avatar_url":"https://avatars.githubusercontent.com/u/1919610?v=3","gravatar_id":"","url":"https://api.github.com/users/jonathanmccann","html_url":"https://github.com/jonathanmccann","followers_url":"https://api.github.com/users/jonathanmccann/followers","following_url":"https://api.github.com/users/jonathanmccann/following{/other_user}","gists_url":"https://api.github.com/users/jonathanmccann/gists{/gist_id}","starred_url":"https://api.github.com/users/jonathanmccann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonathanmccann/subscriptions","organizations_url":"https://api.github.com/users/jonathanmccann/orgs","repos_url":"https://api.github.com/users/jonathanmccann/repos","events_url":"https://api.github.com/users/jonathanmccann/events{/privacy}","received_events_url":"https://api.github.com/users/jonathanmccann/received_events","type":"User","site_admin":false},"created_at":"2015-06-26T16:29:59Z","updated_at":"2015-06-26T16:29:59Z","body":"Reviewed and sent to Julio for further review: https://github.com/juliocamarero/liferay-portal/pull/3517"}}