0
votes

I have an Ember project that I had been working on where I could save my model in my route:

            Ember.$.ajax({
            url: config.api.baseURL + 'propzone/' + model.name,
            type: 'PUT',
            contentType: 'application/json',
            data: JSON.stringify(model),
            success: function() {
                // RENDER NOTIFICATION
                self.refresh();
            },
            error: function(err) {
                alert('Error: ' + err);
            }
        });

This did work fine until I updated Ember and Ember-cli.

Now I'm getting this error message:

Uncaught Error: Assertion Failed: You must use Ember.set() to set the gallery property (of [object Object]) to ``.

1

1 Answers

1
votes

It looks like this might not be entirely related to the model save, but a possible bug in the framework. Does this issue apply?