Skip to Content
0
Jul 26, 2016 at 09:07 AM

HTTP Post Error: Changeset processing failed

4565 Views

Hi

I am getting Changeset processing failed error message even though i am not doing a batch call. My understanding is that you get this error if something goes wrong when doing a batch request. Maybe i am wrong

var oCountry = this.byId("Country").getValue();

var oCity = this.byId("City").getValue();

var oPopulation = this.byId("Population").getValue();

var oProperties = {

Country: oCountry,

City: oCity,

Population: oPopulation

};

var oModel = this.getModel();

var oContext = oModel.createEntry("/popSet",

{ properties: oProperties,

success: this._onCreateSuccess.bind(this)

});

this.getView().setBindingContext(oContext);

oModel.submitChanges();

What am I missing?

Thanks