Thursday, 8 August 2013

Server JObject as parameter in breeze saveChanges, has null value when used with internet explorer

Server JObject as parameter in breeze saveChanges, has null value when
used with internet explorer

I am using breezejs version 1.4.0 and metadata version of 1.0.5 with
durandaljs to build SPA. I have a method called saveChanges that returns
SaveResult object. The method is configured as stated in breeze
documentation. Here is the method that is used by breeze to save entity
changes.
[HttpPost] public SaveResult saveChanges(JObject moduleItems) { return
_repository.SaveChanges(moduleItems); }
When this is used with other browsers i.e chrome, Safari, firefox etc,
everything works fine. But when I use internet explorer to run the
application, my moduleItems as JObject always has null value. I trying to
imagine how IE deals with JSON object; Please, any help will be
appreciated. Thanks in advance.

No comments:

Post a Comment