The id
is a special attribute that should not be updated that way. Use model.changeID("someNewId")
, which saves the new mapping. This function doesn't seem to be documented.
Spine's documentation is a bit behind its development, but check out the Model
class here: https://github.com/spine/spine/blob/master/src/spine.coffee