{"action":"created","issue":{"url":"https://api.github.com/repos/VHSoft/VHSmartNext/issues/94","repository_url":"https://api.github.com/repos/VHSoft/VHSmartNext","labels_url":"https://api.github.com/repos/VHSoft/VHSmartNext/issues/94/labels{/name}","comments_url":"https://api.github.com/repos/VHSoft/VHSmartNext/issues/94/comments","events_url":"https://api.github.com/repos/VHSoft/VHSmartNext/issues/94/events","html_url":"https://github.com/VHSoft/VHSmartNext/issues/94","id":192216490,"number":94,"title":"CorporateId missing during ViewComponent renders","user":{"login":"vhsoft-ferryto","id":19923759,"avatar_url":"https://avatars.githubusercontent.com/u/19923759?v=3","gravatar_id":"","url":"https://api.github.com/users/vhsoft-ferryto","html_url":"https://github.com/vhsoft-ferryto","followers_url":"https://api.github.com/users/vhsoft-ferryto/followers","following_url":"https://api.github.com/users/vhsoft-ferryto/following{/other_user}","gists_url":"https://api.github.com/users/vhsoft-ferryto/gists{/gist_id}","starred_url":"https://api.github.com/users/vhsoft-ferryto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vhsoft-ferryto/subscriptions","organizations_url":"https://api.github.com/users/vhsoft-ferryto/orgs","repos_url":"https://api.github.com/users/vhsoft-ferryto/repos","events_url":"https://api.github.com/users/vhsoft-ferryto/events{/privacy}","received_events_url":"https://api.github.com/users/vhsoft-ferryto/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-29T08:23:14Z","updated_at":"2016-12-01T10:13:31Z","closed_at":null,"body":"In /Center/Contract/ContractDialog.cshtml\r\nThis line is failed to load the value into a HTML hidden field, even the passed Model has value.\r\n`@Html.HiddenFor(m => m.CorporateId)`\r\n"},"comment":{"url":"https://api.github.com/repos/VHSoft/VHSmartNext/issues/comments/264133037","html_url":"https://github.com/VHSoft/VHSmartNext/issues/94#issuecomment-264133037","issue_url":"https://api.github.com/repos/VHSoft/VHSmartNext/issues/94","id":264133037,"user":{"login":"vhsoft-ferryto","id":19923759,"avatar_url":"https://avatars.githubusercontent.com/u/19923759?v=3","gravatar_id":"","url":"https://api.github.com/users/vhsoft-ferryto","html_url":"https://github.com/vhsoft-ferryto","followers_url":"https://api.github.com/users/vhsoft-ferryto/followers","following_url":"https://api.github.com/users/vhsoft-ferryto/following{/other_user}","gists_url":"https://api.github.com/users/vhsoft-ferryto/gists{/gist_id}","starred_url":"https://api.github.com/users/vhsoft-ferryto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vhsoft-ferryto/subscriptions","organizations_url":"https://api.github.com/users/vhsoft-ferryto/orgs","repos_url":"https://api.github.com/users/vhsoft-ferryto/repos","events_url":"https://api.github.com/users/vhsoft-ferryto/events{/privacy}","received_events_url":"https://api.github.com/users/vhsoft-ferryto/received_events","type":"User","site_admin":false},"created_at":"2016-12-01T10:13:31Z","updated_at":"2016-12-01T10:13:31Z","body":"The issue can be solved by calling ModelState.Clear before assigning values to view model object as the answer provided here: [http://stackoverflow.com/questions/40861643/view-model-value-did-not-set-to-html-hiddenfor]"}}
{"actor":{"display_login":"vhsoft-ferryto"}}