{"action":"created","issue":{"url":"https://api.github.com/repos/dmitryd/typo3-realurl/issues/54","repository_url":"https://api.github.com/repos/dmitryd/typo3-realurl","labels_url":"https://api.github.com/repos/dmitryd/typo3-realurl/issues/54/labels{/name}","comments_url":"https://api.github.com/repos/dmitryd/typo3-realurl/issues/54/comments","events_url":"https://api.github.com/repos/dmitryd/typo3-realurl/issues/54/events","html_url":"https://github.com/dmitryd/typo3-realurl/issues/54","id":138809421,"number":54,"title":"URLs with parent \"menu seperator\" are not decoded when logged in into Backend","user":{"login":"ervaude","id":7824856,"avatar_url":"https://avatars.githubusercontent.com/u/7824856?v=3","gravatar_id":"","url":"https://api.github.com/users/ervaude","html_url":"https://github.com/ervaude","followers_url":"https://api.github.com/users/ervaude/followers","following_url":"https://api.github.com/users/ervaude/following{/other_user}","gists_url":"https://api.github.com/users/ervaude/gists{/gist_id}","starred_url":"https://api.github.com/users/ervaude/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ervaude/subscriptions","organizations_url":"https://api.github.com/users/ervaude/orgs","repos_url":"https://api.github.com/users/ervaude/repos","events_url":"https://api.github.com/users/ervaude/events{/privacy}","received_events_url":"https://api.github.com/users/ervaude/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2016-03-06T16:48:08Z","updated_at":"2016-03-07T20:07:39Z","closed_at":"2016-03-07T14:37:19Z","body":"If one is logged in to the backend, realurl will use the NullCache and thus not find anything in any cache. This leads the decoding process of any URL to `decodePath()` where the currentPid is set to the rootPid. See: https://github.com/dmitryd/typo3-realurl/blob/development/Classes/Decoder/UrlDecoder.php#L435\r\n\r\nThen the `searchPages()` method is called (https://github.com/dmitryd/typo3-realurl/blob/development/Classes/Decoder/UrlDecoder.php#L445) where essentially the URL path is checked against the page titles of pages that have the rootPid as parent (https://github.com/dmitryd/typo3-realurl/blob/development/Classes/Decoder/UrlDecoder.php#L1216-L1218). Pages further down in the page tree are not checked and therefor not found.\r\n\r\nSo a link to a page on the third level in the page tree can never be decoded if you are logged in the backend."},"comment":{"url":"https://api.github.com/repos/dmitryd/typo3-realurl/issues/comments/193427181","html_url":"https://github.com/dmitryd/typo3-realurl/issues/54#issuecomment-193427181","issue_url":"https://api.github.com/repos/dmitryd/typo3-realurl/issues/54","id":193427181,"user":{"login":"klodeckl","id":510262,"avatar_url":"https://avatars.githubusercontent.com/u/510262?v=3","gravatar_id":"","url":"https://api.github.com/users/klodeckl","html_url":"https://github.com/klodeckl","followers_url":"https://api.github.com/users/klodeckl/followers","following_url":"https://api.github.com/users/klodeckl/following{/other_user}","gists_url":"https://api.github.com/users/klodeckl/gists{/gist_id}","starred_url":"https://api.github.com/users/klodeckl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/klodeckl/subscriptions","organizations_url":"https://api.github.com/users/klodeckl/orgs","repos_url":"https://api.github.com/users/klodeckl/repos","events_url":"https://api.github.com/users/klodeckl/events{/privacy}","received_events_url":"https://api.github.com/users/klodeckl/received_events","type":"User","site_admin":false},"created_at":"2016-03-07T20:07:39Z","updated_at":"2016-03-07T20:07:39Z","body":"Hm, funny discussion. I think it is not well enough described, “Menu separator“ can be used for both, to separate a menu in different groups like Dmitry meant and to separate a tree into submenus. I also used it e.g. for a topnavigation because it separates a menu and it just looks better and you can better differ it from other folders for records storage. So maybe bad behavoir is not exactly correct ;-)"}}