- if new_node.version != version
- raise OSM::APIVersionMismatchError.new(new_node.version, version)
- elsif new_node.changeset.user_id != user.id
- raise OSM::APIUserChangesetMismatchError.new
- elsif not new_node.changeset.open?
- raise OSM::APIChangesetAlreadyClosedError.new
- end
+ check_consistency(self, new_node, user)
+
+ # update changeset with *old* position first
+ changeset.update_bbox!(bbox);