cvicente / Netdot

Network Documentation Tool

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

can't add device for Duplicate entry

pubyun opened this issue · comments

latest git master, and netdisco-mibs-4.016, give follwing message:

updatedevice.html produced the following error:

Error while inserting DeviceModule: Can't insert new DeviceModule: DBD::mysql::st execute failed: Duplicate entry '31-0' for key 'devicemodule1' [for Statement "INSERT INTO devicemodule (last_updated, fru, date_installed, number, name, device, asset_id, contained_in, type, class, pos)
VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
" with ParamValues: 0='2019/05/14 13:20:34', 1=0, 2='2019/05/14 13:20:34', 3=0, 4='25GE1/0/9', 5='31', 6=undef, 7='16842753', 8='hwPortTypeOid.688139', 9='port', 10='13'] at /usr/local/share/perl5/DBIx/ContextualFetch.pm line 52, line 1499.