{"action":"created","issue":{"url":"https://api.github.com/repos/freeorion/freeorion/issues/1993","repository_url":"https://api.github.com/repos/freeorion/freeorion","labels_url":"https://api.github.com/repos/freeorion/freeorion/issues/1993/labels{/name}","comments_url":"https://api.github.com/repos/freeorion/freeorion/issues/1993/comments","events_url":"https://api.github.com/repos/freeorion/freeorion/issues/1993/events","html_url":"https://github.com/freeorion/freeorion/issues/1993","id":296926529,"number":1993,"title":"Invade button not displayed for bombarded planets with native species","user":{"login":"dbenage-cx","id":17205519,"avatar_url":"https://avatars2.githubusercontent.com/u/17205519?v=4","gravatar_id":"","url":"https://api.github.com/users/dbenage-cx","html_url":"https://github.com/dbenage-cx","followers_url":"https://api.github.com/users/dbenage-cx/followers","following_url":"https://api.github.com/users/dbenage-cx/following{/other_user}","gists_url":"https://api.github.com/users/dbenage-cx/gists{/gist_id}","starred_url":"https://api.github.com/users/dbenage-cx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbenage-cx/subscriptions","organizations_url":"https://api.github.com/users/dbenage-cx/orgs","repos_url":"https://api.github.com/users/dbenage-cx/repos","events_url":"https://api.github.com/users/dbenage-cx/events{/privacy}","received_events_url":"https://api.github.com/users/dbenage-cx/received_events","type":"User","site_admin":false},"labels":[{"id":193301672,"url":"https://api.github.com/repos/freeorion/freeorion/labels/category:bug","name":"category:bug","color":"5319e7","default":false},{"id":428806784,"url":"https://api.github.com/repos/freeorion/freeorion/labels/component:game%20mechanic","name":"component:game mechanic","color":"d93f0b","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/freeorion/freeorion/milestones/18","html_url":"https://github.com/freeorion/freeorion/milestone/18","labels_url":"https://api.github.com/repos/freeorion/freeorion/milestones/18/labels","id":2316533,"number":18,"title":"v0.4.8 (mandatory)","description":"Bugs, features and pull requests that *must* be fixed/finalized for the 0.4.8 release. All issues and PRs assigned to this milestone are considered release-blocking.","creator":{"login":"Vezzra","id":10279417,"avatar_url":"https://avatars2.githubusercontent.com/u/10279417?v=4","gravatar_id":"","url":"https://api.github.com/users/Vezzra","html_url":"https://github.com/Vezzra","followers_url":"https://api.github.com/users/Vezzra/followers","following_url":"https://api.github.com/users/Vezzra/following{/other_user}","gists_url":"https://api.github.com/users/Vezzra/gists{/gist_id}","starred_url":"https://api.github.com/users/Vezzra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vezzra/subscriptions","organizations_url":"https://api.github.com/users/Vezzra/orgs","repos_url":"https://api.github.com/users/Vezzra/repos","events_url":"https://api.github.com/users/Vezzra/events{/privacy}","received_events_url":"https://api.github.com/users/Vezzra/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":311,"state":"open","created_at":"2017-02-12T13:01:43Z","updated_at":"2018-02-17T17:29:33Z","due_on":null,"closed_at":null},"comments":9,"created_at":"2018-02-13T23:43:15Z","updated_at":"2018-02-17T17:29:33Z","closed_at":"2018-02-17T17:29:33Z","author_association":"MEMBER","body":"### Environment\r\n\r\n* **FreeOrion Version**: 0.4.7+ 4bcf72b\r\n* **Operating System**: Fedora 26\r\n* **Fetched as**  Compiled from source\r\n\r\n\r\n### Description\r\nThe sidepanel invade button does not display on a bombarded planet containing unowned native, with troop ships in system.\r\n\r\n\r\n### Expected Result\r\nInvade button is displayed and functional.\r\n\r\n\r\n### Steps to reproduce\r\nWith a target planet containing a native species (and possibly Unowned):\r\n* Attack the planet with armed ships\r\n* When shields of target planet are at 0.0, have ships with troops in system\r\n* Invade button does not display\r\n[Example save](https://github.com/freeorion/freeorion/files/1722096/no_invade.zip) (Albans β at bottom)\r\n\r\n\r\nSee two paths to resolve:\r\n* Ensure `LastTurnBattleHere` / `LastTurnAttackedByShip` checks for current meter gain effects are for previous turn (`... < CurrentTurn - 1` / `Turn low = ... + 1`).\r\n* Change c++ checks in sidepanel.cpp/order.cpp from `CurrentMeterValue` to `InitialMeterValue`\r\n"},"comment":{"url":"https://api.github.com/repos/freeorion/freeorion/issues/comments/366457021","html_url":"https://github.com/freeorion/freeorion/issues/1993#issuecomment-366457021","issue_url":"https://api.github.com/repos/freeorion/freeorion/issues/1993","id":366457021,"user":{"login":"dbenage-cx","id":17205519,"avatar_url":"https://avatars2.githubusercontent.com/u/17205519?v=4","gravatar_id":"","url":"https://api.github.com/users/dbenage-cx","html_url":"https://github.com/dbenage-cx","followers_url":"https://api.github.com/users/dbenage-cx/followers","following_url":"https://api.github.com/users/dbenage-cx/following{/other_user}","gists_url":"https://api.github.com/users/dbenage-cx/gists{/gist_id}","starred_url":"https://api.github.com/users/dbenage-cx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbenage-cx/subscriptions","organizations_url":"https://api.github.com/users/dbenage-cx/orgs","repos_url":"https://api.github.com/users/dbenage-cx/repos","events_url":"https://api.github.com/users/dbenage-cx/events{/privacy}","received_events_url":"https://api.github.com/users/dbenage-cx/received_events","type":"User","site_admin":false},"created_at":"2018-02-17T17:29:33Z","updated_at":"2018-02-17T17:29:33Z","author_association":"MEMBER","body":"@geoffthemedio Thanks for addressing\r\n\r\nFixed by ac0b7f5"}}
{"actor":{"display_login":"dbenage-cx"}}