{"action":"created","issue":{"url":"https://api.github.com/repos/puli/repository/issues/48","labels_url":"https://api.github.com/repos/puli/repository/issues/48/labels{/name}","comments_url":"https://api.github.com/repos/puli/repository/issues/48/comments","events_url":"https://api.github.com/repos/puli/repository/issues/48/events","html_url":"https://github.com/puli/repository/pull/48","id":105957646,"number":48,"title":"* failing test to show problem with resolving childrens file systempaths","user":{"login":"Engerim","id":1322557,"avatar_url":"https://avatars.githubusercontent.com/u/1322557?v=3","gravatar_id":"","url":"https://api.github.com/users/Engerim","html_url":"https://github.com/Engerim","followers_url":"https://api.github.com/users/Engerim/followers","following_url":"https://api.github.com/users/Engerim/following{/other_user}","gists_url":"https://api.github.com/users/Engerim/gists{/gist_id}","starred_url":"https://api.github.com/users/Engerim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Engerim/subscriptions","organizations_url":"https://api.github.com/users/Engerim/orgs","repos_url":"https://api.github.com/users/Engerim/repos","events_url":"https://api.github.com/users/Engerim/events{/privacy}","received_events_url":"https://api.github.com/users/Engerim/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-09-11T07:22:49Z","updated_at":"2015-09-19T08:52:43Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/puli/repository/pulls/48","html_url":"https://github.com/puli/repository/pull/48","diff_url":"https://github.com/puli/repository/pull/48.diff","patch_url":"https://github.com/puli/repository/pull/48.patch"},"body":"This PR shows a problem with resolving children filesystempaths.\r\n\r\n```php\r\nPathMappingRepository.php Line 226\r\n$filesystemPath = substr_replace($path, rtrim($filesystemBasePath, '/').'/', 0, strlen($basePath));\r\n```\r\n\r\nIf you use find to resolve the children, the filesystemPath contains after this line potential '//' in the path and this doesn't match than in the \"getFilesystemPathChildren\" method and so no correct repository path is set.\r\n\r\nPotential Bugfix is to replace all '//' with '/' in the filesystemPath"},"comment":{"url":"https://api.github.com/repos/puli/repository/issues/comments/141636672","html_url":"https://github.com/puli/repository/pull/48#issuecomment-141636672","issue_url":"https://api.github.com/repos/puli/repository/issues/48","id":141636672,"user":{"login":"Engerim","id":1322557,"avatar_url":"https://avatars.githubusercontent.com/u/1322557?v=3","gravatar_id":"","url":"https://api.github.com/users/Engerim","html_url":"https://github.com/Engerim","followers_url":"https://api.github.com/users/Engerim/followers","following_url":"https://api.github.com/users/Engerim/following{/other_user}","gists_url":"https://api.github.com/users/Engerim/gists{/gist_id}","starred_url":"https://api.github.com/users/Engerim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Engerim/subscriptions","organizations_url":"https://api.github.com/users/Engerim/orgs","repos_url":"https://api.github.com/users/Engerim/repos","events_url":"https://api.github.com/users/Engerim/events{/privacy}","received_events_url":"https://api.github.com/users/Engerim/received_events","type":"User","site_admin":false},"created_at":"2015-09-19T08:52:43Z","updated_at":"2015-09-19T08:52:43Z","body":"ping"}}