[ZBX-7980] SQL ERROR "Duplicate entry" in the Web scenarios page Created: 2014 Mar 21 Updated: 2022 Sep 09 Resolved: 2022 Sep 06 |
|
| Status: | Closed |
| Project: | ZABBIX BUGS AND ISSUES |
| Component/s: | Frontend (F) |
| Affects Version/s: | 2.2.2 |
| Fix Version/s: | None |
| Type: | Incident report | Priority: | Trivial |
| Reporter: | Oleg Egorov (Inactive) | Assignee: | Unassigned |
| Resolution: | Unsupported version | Votes: | 0 |
| Labels: | applications, duplicates, sql | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
| Description |
|
Web scenario edit page (I reproduce this issue in template, witch is linked to the other hosts) Error in query [INSERT INTO applications (name,hostid,applicationid) VALUES ('CPUXX','10125','500')] [Duplicate entry '10125-CPUXX' for key 2] |
| Comments |
| Comment by Oleg Egorov (Inactive) [ 2014 Mar 21 ] |
|
(1) Same problem in items Error in query [INSERT INTO applications (name,hostid,applicationid) VALUES ('CPUXXX','10125','506')] [Duplicate entry '10125-CPUXXX' for key 2] |
| Comment by Oleg Egorov (Inactive) [ 2014 Mar 21 ] |
|
(2) In items mass update, after double click, we have sql error and one new problem in multiselect. Add new or existing applications: AAAA(new) From application should be removed status "(new)". |
| Comment by Oleg Egorov (Inactive) [ 2014 Mar 21 ] |
|
(3) Same problem in web checks |
| Comment by Oleg Egorov (Inactive) [ 2014 Mar 21 ] |
|
Possible issue related to |
| Comment by richlv [ 2014 Dec 30 ] |
|
|
| Comment by Ivo Kurzemnieks [ 2022 Sep 06 ] |
|
Cannot reproduce on newer versions since applications have been removed since 5.4. Even more double clicking is not possible in massupdate, because the JS prevents it. And even 4.4-5.2 seems like this cannot be reproduced. I didn't get any errors. |