diff --git a/lib/abstract-class.js b/lib/abstract-class.js index ba8c9545..453794b7 100644 --- a/lib/abstract-class.js +++ b/lib/abstract-class.js @@ -286,7 +286,9 @@ AbstractClass.find = function find(id, cb) { this.schema.adapter.find(this.modelName, id, function (err, data) { var obj = null; if (data) { - data.id = id; + if (!data.id) { + data.id = id; + } obj = new this(); obj._initProperties(data, false); }