{"action":"closed","issue":{"url":"https://api.github.com/repos/Sitefinity/feather/issues/2014","labels_url":"https://api.github.com/repos/Sitefinity/feather/issues/2014/labels{/name}","comments_url":"https://api.github.com/repos/Sitefinity/feather/issues/2014/comments","events_url":"https://api.github.com/repos/Sitefinity/feather/issues/2014/events","html_url":"https://github.com/Sitefinity/feather/issues/2014","id":88432498,"number":2014,"title":"Registration : unable to display/save custom fields ","user":{"login":"Sylvain-S","id":12623752,"avatar_url":"https://avatars.githubusercontent.com/u/12623752?v=3","gravatar_id":"","url":"https://api.github.com/users/Sylvain-S","html_url":"https://github.com/Sylvain-S","followers_url":"https://api.github.com/users/Sylvain-S/followers","following_url":"https://api.github.com/users/Sylvain-S/following{/other_user}","gists_url":"https://api.github.com/users/Sylvain-S/gists{/gist_id}","starred_url":"https://api.github.com/users/Sylvain-S/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sylvain-S/subscriptions","organizations_url":"https://api.github.com/users/Sylvain-S/orgs","repos_url":"https://api.github.com/users/Sylvain-S/repos","events_url":"https://api.github.com/users/Sylvain-S/events{/privacy}","received_events_url":"https://api.github.com/users/Sylvain-S/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Sitefinity/feather/labels/customer%20submitted","name":"customer submitted","color":"006b75"},{"url":"https://api.github.com/repos/Sitefinity/feather/labels/t2","name":"t2","color":"B4EF90"}],"state":"closed","locked":false,"assignee":{"login":"dzhenko","id":5741004,"avatar_url":"https://avatars.githubusercontent.com/u/5741004?v=3","gravatar_id":"","url":"https://api.github.com/users/dzhenko","html_url":"https://github.com/dzhenko","followers_url":"https://api.github.com/users/dzhenko/followers","following_url":"https://api.github.com/users/dzhenko/following{/other_user}","gists_url":"https://api.github.com/users/dzhenko/gists{/gist_id}","starred_url":"https://api.github.com/users/dzhenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dzhenko/subscriptions","organizations_url":"https://api.github.com/users/dzhenko/orgs","repos_url":"https://api.github.com/users/dzhenko/repos","events_url":"https://api.github.com/users/dzhenko/events{/privacy}","received_events_url":"https://api.github.com/users/dzhenko/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/Sitefinity/feather/milestones/25","html_url":"https://github.com/Sitefinity/feather/milestones/1.2.260","labels_url":"https://api.github.com/repos/Sitefinity/feather/milestones/25/labels","id":1161786,"number":25,"title":"1.2.260","description":"","creator":{"login":"PepiIvanova","id":9316742,"avatar_url":"https://avatars.githubusercontent.com/u/9316742?v=3","gravatar_id":"","url":"https://api.github.com/users/PepiIvanova","html_url":"https://github.com/PepiIvanova","followers_url":"https://api.github.com/users/PepiIvanova/followers","following_url":"https://api.github.com/users/PepiIvanova/following{/other_user}","gists_url":"https://api.github.com/users/PepiIvanova/gists{/gist_id}","starred_url":"https://api.github.com/users/PepiIvanova/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PepiIvanova/subscriptions","organizations_url":"https://api.github.com/users/PepiIvanova/orgs","repos_url":"https://api.github.com/users/PepiIvanova/repos","events_url":"https://api.github.com/users/PepiIvanova/events{/privacy}","received_events_url":"https://api.github.com/users/PepiIvanova/received_events","type":"User","site_admin":false},"open_issues":17,"closed_issues":4,"state":"open","created_at":"2015-06-12T10:31:17Z","updated_at":"2015-06-16T10:31:05Z","due_on":"2015-06-18T21:00:00Z","closed_at":null},"comments":2,"created_at":"2015-06-15T13:46:50Z","updated_at":"2015-06-16T10:31:05Z","closed_at":"2015-06-16T10:31:05Z","body":"1. Administration > Users > Manage Profile Types and add custom fields to the basic profile: Company, Function, ZipCode, Country, Language (all Short Texts)\r\n\r\n2. Create a page and add Registration widget\r\n\r\n3. Edit \"ProfileBindings\" property of the widget with the following : [{ProfileType: 'Telerik.Sitefinity.Security.Model.SitefinityProfile',Properties: [{ Name: 'FirstName', FieldName: 'FirstName', Required: true },{ Name: 'LastName', FieldName: 'LastName', Required: true }, {Name:'About', FieldName:'About' }, {Name:'Company', FieldName:'Company' }, {Name:'Function', FieldName:'Function'}, {Name:'ZipCode', FieldName:'ZipCode'}, {Name:'Country', FieldName:'Country'}, {Name:'Language', FieldName:'Language'} ]}]\r\n\r\n4. Override the view Registration.RegistrationForm.cshtml and add html to get new properties:\r\n\r\n         <div class=\"form-group\">\r\n            <label>\r\n                @Html.Resource(\"EditProfileFunction\")\r\n            </label>\r\n            @Html.TextBoxFor(m => m.Profile[\"Function\"], new { @class = \"form-control\" })\r\n        </div>\r\n\r\n5.Widget Controller gives an error : \r\n\r\nAn exception of type 'System.Collections.Generic.KeyNotFoundException' occurred and was caught.\r\n-----------------------------------------------------------------------------------------------\r\n06/15/2015 15:27:16\r\nType : System.Collections.Generic.KeyNotFoundException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\r\nMessage : The given key was not present in the dictionary."}}