...
https://dev.azure.com/transport-canada/DSD-RAIL-LEIS/_git/DSD-RAIL-LEIS/pullrequest/31171
245729 and 266747
...
On the Users section / User details page, the Edit Contact Information (phone number) and Edit Emails causes an error 500 when saved.
The exception is
{"An item with the same key has already been added."}
Some more info:
https://stackoverflow.com/questions/5648060/an-item-with-the-same-key-has-already-been-added
To Fix:
Add the following to ‘<form method="post" …’ : @Html.HiddenFor(m => m.User, new { Value = "" })
...
Adjust controller’s Get and Post methods
245729
https://dev.azure.com/transport-canada/DSD-RAIL-LEIS/_git/DSD-RAIL-LEIS/pullrequest/31079
266747
https://dev.azure.com/transport-canada/DSD-RAIL-LEIS/_git/DSD-RAIL-LEIS/pullrequest/33586
Stack Example
Code Block |
---|
at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)\r\n
at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)\r\n
at System.Web.Mvc.ModelBindingContext.get_PropertyMetadata()\r\n
at System.Web.Mvc.DefaultModelBinder.BindProperty(ControllerContext controllerContext, ModelBindingContext bindingContext, PropertyDescriptor propertyDescriptor)\r\n
at System.Web.Mvc.DefaultModelBinder.BindProperties(ControllerContext controllerContext, ModelBindingContext bindingContext)\r\n
........
at System.Web.Mvc.MvcHandler.System.Web.IHttpAsyncHandler.EndProcessRequest(IAsyncResult result)"
|
210110
210110 Decimals are not retained in the French spreadsheet (,.)
...