账户(非管理员)无法添加手机客户端。显示错误信息

snown2 months ago

账户(非管理员)无法添加手机客户端。显示错误信息

Unique index or primary key violation: "PUBLIC.CONSTRAINT_A_INDEX_C ON PUBLIC.TC_DEVICES(UNIQUEID NULLS FIRST) VALUES ( /* 2 */ '186256' )"; SQL statement: INSERT INTO tc_devices(calendarId, uniqueId, phone, model, contact, category, disabled, expirationTime, name, groupId, attributes) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [23505-224] - JdbcSQLIntegrityConstraintViolationException (... < QueryBuilder:469 < DatabaseStorage:95 < BaseObjectResource:73 < ...)
Anton Tananaev2 months ago

You cannot add the same device twice. Instead you should link the existing device to the new user.