{"action":"created","issue":{"url":"https://api.github.com/repos/enonic/xp/issues/6506","repository_url":"https://api.github.com/repos/enonic/xp","labels_url":"https://api.github.com/repos/enonic/xp/issues/6506/labels{/name}","comments_url":"https://api.github.com/repos/enonic/xp/issues/6506/comments","events_url":"https://api.github.com/repos/enonic/xp/issues/6506/events","html_url":"https://github.com/enonic/xp/issues/6506","id":351510988,"node_id":"MDU6SXNzdWUzNTE1MTA5ODg=","number":6506,"title":"Incorrect content path for root content node '/content'","user":{"login":"GlennRicaud","id":12030113,"node_id":"MDQ6VXNlcjEyMDMwMTEz","avatar_url":"https://avatars2.githubusercontent.com/u/12030113?v=4","gravatar_id":"","url":"https://api.github.com/users/GlennRicaud","html_url":"https://github.com/GlennRicaud","followers_url":"https://api.github.com/users/GlennRicaud/followers","following_url":"https://api.github.com/users/GlennRicaud/following{/other_user}","gists_url":"https://api.github.com/users/GlennRicaud/gists{/gist_id}","starred_url":"https://api.github.com/users/GlennRicaud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GlennRicaud/subscriptions","organizations_url":"https://api.github.com/users/GlennRicaud/orgs","repos_url":"https://api.github.com/users/GlennRicaud/repos","events_url":"https://api.github.com/users/GlennRicaud/events{/privacy}","received_events_url":"https://api.github.com/users/GlennRicaud/received_events","type":"User","site_admin":false},"labels":[{"id":506040360,"node_id":"MDU6TGFiZWw1MDYwNDAzNjA=","url":"https://api.github.com/repos/enonic/xp/labels/Bug","name":"Bug","color":"000000","default":false}],"state":"open","locked":false,"assignee":{"login":"GlennRicaud","id":12030113,"node_id":"MDQ6VXNlcjEyMDMwMTEz","avatar_url":"https://avatars2.githubusercontent.com/u/12030113?v=4","gravatar_id":"","url":"https://api.github.com/users/GlennRicaud","html_url":"https://github.com/GlennRicaud","followers_url":"https://api.github.com/users/GlennRicaud/followers","following_url":"https://api.github.com/users/GlennRicaud/following{/other_user}","gists_url":"https://api.github.com/users/GlennRicaud/gists{/gist_id}","starred_url":"https://api.github.com/users/GlennRicaud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GlennRicaud/subscriptions","organizations_url":"https://api.github.com/users/GlennRicaud/orgs","repos_url":"https://api.github.com/users/GlennRicaud/repos","events_url":"https://api.github.com/users/GlennRicaud/events{/privacy}","received_events_url":"https://api.github.com/users/GlennRicaud/received_events","type":"User","site_admin":false},"assignees":[{"login":"GlennRicaud","id":12030113,"node_id":"MDQ6VXNlcjEyMDMwMTEz","avatar_url":"https://avatars2.githubusercontent.com/u/12030113?v=4","gravatar_id":"","url":"https://api.github.com/users/GlennRicaud","html_url":"https://github.com/GlennRicaud","followers_url":"https://api.github.com/users/GlennRicaud/followers","following_url":"https://api.github.com/users/GlennRicaud/following{/other_user}","gists_url":"https://api.github.com/users/GlennRicaud/gists{/gist_id}","starred_url":"https://api.github.com/users/GlennRicaud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GlennRicaud/subscriptions","organizations_url":"https://api.github.com/users/GlennRicaud/orgs","repos_url":"https://api.github.com/users/GlennRicaud/repos","events_url":"https://api.github.com/users/GlennRicaud/events{/privacy}","received_events_url":"https://api.github.com/users/GlennRicaud/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/enonic/xp/milestones/6","html_url":"https://github.com/enonic/xp/milestone/6","labels_url":"https://api.github.com/repos/enonic/xp/milestones/6/labels","id":2368410,"node_id":"MDk6TWlsZXN0b25lMjM2ODQxMA==","number":6,"title":"7.0.0","description":"","creator":{"login":"srs","id":45278,"node_id":"MDQ6VXNlcjQ1Mjc4","avatar_url":"https://avatars2.githubusercontent.com/u/45278?v=4","gravatar_id":"","url":"https://api.github.com/users/srs","html_url":"https://github.com/srs","followers_url":"https://api.github.com/users/srs/followers","following_url":"https://api.github.com/users/srs/following{/other_user}","gists_url":"https://api.github.com/users/srs/gists{/gist_id}","starred_url":"https://api.github.com/users/srs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/srs/subscriptions","organizations_url":"https://api.github.com/users/srs/orgs","repos_url":"https://api.github.com/users/srs/repos","events_url":"https://api.github.com/users/srs/events{/privacy}","received_events_url":"https://api.github.com/users/srs/received_events","type":"User","site_admin":false},"open_issues":29,"closed_issues":4,"state":"open","created_at":"2017-03-07T08:57:44Z","updated_at":"2018-08-17T08:52:28Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2018-08-17T08:52:28Z","updated_at":"2018-08-17T09:58:34Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"The content path of the root content node '/content' is incorrectly translated to '/content'. It should be '/'.\nThis bug has been present for a long time. It is visible for example on URL generation\n\n\nExample of test:\n```\nexports.get = function () {\n    return {\n        body: require('/lib/xp/portal').serviceUrl({\n            'service': 'myservice'\n        })\n    };\n};\n```\n\nCorrect:\nhttp://localhost:8080/portal/draft/features/_/service/com.enonic.app.features/test\n  ``/portal/draft/features/_/service/com.enonic.app.features/myservice``\nhttp://localhost:8080/portal/draft/features/subcontent/_/service/com.enonic.app.features/test\n  ``/portal/draft/features/subcontent/_/service/com.enonic.app.features/myservice``\n\nIncorrect\nhttp://localhost:8080/portal/draft/_/service/com.enonic.app.features/test\n  ``/portal/draft/content/_/service/com.enonic.app.features/myservice``"},"comment":{"url":"https://api.github.com/repos/enonic/xp/issues/comments/413818211","html_url":"https://github.com/enonic/xp/issues/6506#issuecomment-413818211","issue_url":"https://api.github.com/repos/enonic/xp/issues/6506","id":413818211,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMzgxODIxMQ==","user":{"login":"GlennRicaud","id":12030113,"node_id":"MDQ6VXNlcjEyMDMwMTEz","avatar_url":"https://avatars2.githubusercontent.com/u/12030113?v=4","gravatar_id":"","url":"https://api.github.com/users/GlennRicaud","html_url":"https://github.com/GlennRicaud","followers_url":"https://api.github.com/users/GlennRicaud/followers","following_url":"https://api.github.com/users/GlennRicaud/following{/other_user}","gists_url":"https://api.github.com/users/GlennRicaud/gists{/gist_id}","starred_url":"https://api.github.com/users/GlennRicaud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GlennRicaud/subscriptions","organizations_url":"https://api.github.com/users/GlennRicaud/orgs","repos_url":"https://api.github.com/users/GlennRicaud/repos","events_url":"https://api.github.com/users/GlennRicaud/events{/privacy}","received_events_url":"https://api.github.com/users/GlennRicaud/received_events","type":"User","site_admin":false},"created_at":"2018-08-17T09:58:34Z","updated_at":"2018-08-17T09:58:34Z","author_association":"CONTRIBUTOR","body":"Not reproduced anymore... Try to pinpoint the exact problem"}}
{"actor":{"display_login":"GlennRicaud"}}