{"action":"created","issue":{"url":"https://api.github.com/repos/SharePoint/PnP-Sites-Core/issues/773","repository_url":"https://api.github.com/repos/SharePoint/PnP-Sites-Core","labels_url":"https://api.github.com/repos/SharePoint/PnP-Sites-Core/issues/773/labels{/name}","comments_url":"https://api.github.com/repos/SharePoint/PnP-Sites-Core/issues/773/comments","events_url":"https://api.github.com/repos/SharePoint/PnP-Sites-Core/issues/773/events","html_url":"https://github.com/SharePoint/PnP-Sites-Core/issues/773","id":178872816,"number":773,"title":"SetDefaultColumnValues does not work with special folder characters","user":{"login":"VesaJuvonen","id":7446437,"avatar_url":"https://avatars.githubusercontent.com/u/7446437?v=3","gravatar_id":"","url":"https://api.github.com/users/VesaJuvonen","html_url":"https://github.com/VesaJuvonen","followers_url":"https://api.github.com/users/VesaJuvonen/followers","following_url":"https://api.github.com/users/VesaJuvonen/following{/other_user}","gists_url":"https://api.github.com/users/VesaJuvonen/gists{/gist_id}","starred_url":"https://api.github.com/users/VesaJuvonen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VesaJuvonen/subscriptions","organizations_url":"https://api.github.com/users/VesaJuvonen/orgs","repos_url":"https://api.github.com/users/VesaJuvonen/repos","events_url":"https://api.github.com/users/VesaJuvonen/events{/privacy}","received_events_url":"https://api.github.com/users/VesaJuvonen/received_events","type":"User","site_admin":false},"labels":[{"id":331138215,"url":"https://api.github.com/repos/SharePoint/PnP-Sites-Core/labels/Community%20Task","name":"Community Task","color":"fbca04","default":false},{"id":448281456,"url":"https://api.github.com/repos/SharePoint/PnP-Sites-Core/labels/Investigation%20needed","name":"Investigation needed","color":"ededed","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-23T13:08:08Z","updated_at":"2017-02-06T03:00:38Z","closed_at":null,"body":"_From @rgueldenpfennig on August 6, 2015 7:11_\n\nWe are currently integrating a library with more than 100 folders were each folder has another default value for a taxonomy column.\n\nThere are folders that contain special characters like: \"®\", \"™\", \"＆\", \"ä\", \"ö\", \"ü\"\n\nThose characters are not escaped by SharePoint (like spaces with %20).\nSo in line 1046 of ListExtensions.cs in the method \"SetDefaultColumnValuesImplementation\" there seems to be the issue.\npath = Uri.EscapeUriString(path);\nIn that way all special characters will get escaped. This leads to the issue that the \"wrong\" folder URL will be written into the \"client_LocationBasedDefaults.html\" file.\n\n_Copied from original issue: OfficeDev/PnP#1117_\n"},"comment":{"url":"https://api.github.com/repos/SharePoint/PnP-Sites-Core/issues/comments/277576334","html_url":"https://github.com/SharePoint/PnP-Sites-Core/issues/773#issuecomment-277576334","issue_url":"https://api.github.com/repos/SharePoint/PnP-Sites-Core/issues/773","id":277576334,"user":{"login":"jansenbe","id":7451219,"avatar_url":"https://avatars.githubusercontent.com/u/7451219?v=3","gravatar_id":"","url":"https://api.github.com/users/jansenbe","html_url":"https://github.com/jansenbe","followers_url":"https://api.github.com/users/jansenbe/followers","following_url":"https://api.github.com/users/jansenbe/following{/other_user}","gists_url":"https://api.github.com/users/jansenbe/gists{/gist_id}","starred_url":"https://api.github.com/users/jansenbe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jansenbe/subscriptions","organizations_url":"https://api.github.com/users/jansenbe/orgs","repos_url":"https://api.github.com/users/jansenbe/repos","events_url":"https://api.github.com/users/jansenbe/events{/privacy}","received_events_url":"https://api.github.com/users/jansenbe/received_events","type":"User","site_admin":false},"created_at":"2017-02-06T03:00:38Z","updated_at":"2017-02-06T03:00:38Z","body":"**Internal testing feedback**\r\n\r\nEngine is failing to set default values to folders which are having special characters in folder name.\r\n\r\n1)\tEngine successfully setting default value if no special characters\r\nFolder: ABC\r\nBefore: /sites/PnPIssue773/Test_list_131303989394997913/ABC \r\nAfter: /sites/PnPIssue773/Test_list_131303989394997913/ABC\r\n\r\n2)\tFailed to set default value for below folders\r\nFolder: DE®\r\nBefore: /sites/PnPIssue773/Test_list_131303989394997913/DE®\r\nAfter: /sites/PnPIssue773/Test_list_131303989394997913/DE%C2%AE\r\n\r\nFolder: CD™\r\nBefore: /sites/PnPIssue773/Test_list_131303993593584416/CD™\r\nAfter: /sites/PnPIssue773/Test_list_131303993593584416/CD%E2%84%A2\r\n\r\nFolder: ABä\r\nBefore: /sites/PnPIssue773/Test_list_131303997081430240/ABä\r\nAfter: /sites/PnPIssue773/Test_list_131303997081430240/AB%C3%A4\r\n\r\nMarked as bug per testing feedback."}}
{"actor":{"display_login":"jansenbe"}}