diff --git a/packages/core/strapi/lib/services/entity-service/index.js b/packages/core/strapi/lib/services/entity-service/index.js index d001aca933..7e1bdcdf86 100644 --- a/packages/core/strapi/lib/services/entity-service/index.js +++ b/packages/core/strapi/lib/services/entity-service/index.js @@ -283,7 +283,7 @@ const createDefaultImplementation = ({ strapi, db, eventHub, entityValidator }) const validData = await entityValidator.validateEntityUpdate( model, - _.omit('id', data), // Omit the id, the cloned entity id will be generated by the database + _.omit(data, ['id']), // Omit the id, the cloned entity id will be generated by the database { isDraft }, entityToClone );