{"action":"created","issue":{"url":"https://api.github.com/repos/FluidTYPO3/flux/issues/1035","labels_url":"https://api.github.com/repos/FluidTYPO3/flux/issues/1035/labels{/name}","comments_url":"https://api.github.com/repos/FluidTYPO3/flux/issues/1035/comments","events_url":"https://api.github.com/repos/FluidTYPO3/flux/issues/1035/events","html_url":"https://github.com/FluidTYPO3/flux/pull/1035","id":119681728,"number":1035,"title":"[FEATURE] Maintain uid and pid of standard page","user":{"login":"orangenpresse","id":654446,"avatar_url":"https://avatars.githubusercontent.com/u/654446?v=3","gravatar_id":"","url":"https://api.github.com/users/orangenpresse","html_url":"https://github.com/orangenpresse","followers_url":"https://api.github.com/users/orangenpresse/followers","following_url":"https://api.github.com/users/orangenpresse/following{/other_user}","gists_url":"https://api.github.com/users/orangenpresse/gists{/gist_id}","starred_url":"https://api.github.com/users/orangenpresse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orangenpresse/subscriptions","organizations_url":"https://api.github.com/users/orangenpresse/orgs","repos_url":"https://api.github.com/users/orangenpresse/repos","events_url":"https://api.github.com/users/orangenpresse/events{/privacy}","received_events_url":"https://api.github.com/users/orangenpresse/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-01T09:56:48Z","updated_at":"2016-01-19T18:48:05Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/FluidTYPO3/flux/pulls/1035","html_url":"https://github.com/FluidTYPO3/flux/pull/1035","diff_url":"https://github.com/FluidTYPO3/flux/pull/1035.diff","patch_url":"https://github.com/FluidTYPO3/flux/pull/1035.patch"},"body":"I had some problems when I depend on the uid or the pid of a page after the getPageValues function.\r\nBecause now I get the uid and pid from the pages_overlay.\r\n\r\nFor example I build an menu on a Page with the vhs menu page helper. I use the uid from the page as PageUid in the view helper.\r\nNow if I change the language, I get a completely different result because the uid from the pages_overlay is used. But the menu depends on the PageUid not the pages_overlay.\r\n\r\nFirst I thought about to check if a translated page is used and then use the pid instead. But that will add more logic to the templates. Also If you need the UID of the pages_overlay you can use the fields:\r\n_PAGES_OVERLAY\r\n_PAGES_OVERLAY_UID\r\n\r\nBut for default behavior I only expect that the language relevant information is changed.\r\nI also added support for the enabled fields in the function, maybe we don't need them here because it's still checked from TYPO3. But I think it adds more safety.\r\n\r\nPlease let me know if I get something wrong or I if I should improve something."},"comment":{"url":"https://api.github.com/repos/FluidTYPO3/flux/issues/comments/172948119","html_url":"https://github.com/FluidTYPO3/flux/pull/1035#issuecomment-172948119","issue_url":"https://api.github.com/repos/FluidTYPO3/flux/issues/1035","id":172948119,"user":{"login":"cedricziel","id":418970,"avatar_url":"https://avatars.githubusercontent.com/u/418970?v=3","gravatar_id":"","url":"https://api.github.com/users/cedricziel","html_url":"https://github.com/cedricziel","followers_url":"https://api.github.com/users/cedricziel/followers","following_url":"https://api.github.com/users/cedricziel/following{/other_user}","gists_url":"https://api.github.com/users/cedricziel/gists{/gist_id}","starred_url":"https://api.github.com/users/cedricziel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cedricziel/subscriptions","organizations_url":"https://api.github.com/users/cedricziel/orgs","repos_url":"https://api.github.com/users/cedricziel/repos","events_url":"https://api.github.com/users/cedricziel/events{/privacy}","received_events_url":"https://api.github.com/users/cedricziel/received_events","type":"User","site_admin":false},"created_at":"2016-01-19T18:48:05Z","updated_at":"2016-01-19T18:48:05Z","body":"Hi @orangenpresse ! :)\r\n\r\nWould you please squash the commits together?\r\n\r\nCheers! (And thank you for the contribution!)"}}