ZABBIX BUGS AND ISSUES

Incorrect application on cloned item

Details

  • Zabbix ID:
    Reviewed 2.0

Description

-- Posted by Kodai Terashima --

I confirmed this issue.

1. open item configuration screen (specific item)
2. press "clone" (screenshot-1)
3. change "Host" (screenshot-2), and save
4. both of origial item and copied item are same host in [Monitoring]->[Latest Data] screen.


- This problem is occurred when original item has application.
- In configuration screen, copied item don't have any problem, only in latest data screen has problem.
- if we copy same item using bottom of item list (mass update function), this problem is not occurred.
  1. screenshot-1.jpg
    69 kB
    2012 Jan 26 13:35
  2. screenshot-2.jpg
    64 kB
    2012 Jan 26 13:35
  3. screenshot-3.jpg
    43 kB
    2012 Jan 26 13:35
  4. screenshot-4.jpg
    44 kB
    2012 Jan 26 13:35
  5. screenshot-5.jpg
    63 kB
    2012 Jan 26 13:37

Activity

Hide
Pavels Jelisejevs added a comment -

In the trunk such items are not displayed on Latest Data page at all.

Show
Pavels Jelisejevs added a comment - In the trunk such items are not displayed on Latest Data page at all.
Hide
Pavels Jelisejevs added a comment -

Fixed for 1.8 in /branches/dev/ZBX-4586.

RESOLVED.

Show
Pavels Jelisejevs added a comment - Fixed for 1.8 in /branches/dev/ZBX-4586. RESOLVED.
Hide
Pavels Jelisejevs added a comment -

Added item's application validation to the Item.update and Item.create API methods.

Show
Pavels Jelisejevs added a comment - Added item's application validation to the Item.update and Item.create API methods.
Hide
Alexander Vladishev added a comment -

Successfully tested!

Please review my changes in r25102.

Show
Alexander Vladishev added a comment - Successfully tested! Please review my changes in r25102.
Hide
Pavels Jelisejevs added a comment -

Merged to 1.8 r25112.

Show
Pavels Jelisejevs added a comment - Merged to 1.8 r25112.
Hide
Pavels Jelisejevs added a comment -

My mistake, it seems that cloning works correctly in the trunk, but I've added the same application validation I've implemented in 1.8. It's available in /branches/dev/ZBX-4586-trunk.

Show
Pavels Jelisejevs added a comment - My mistake, it seems that cloning works correctly in the trunk, but I've added the same application validation I've implemented in 1.8. It's available in /branches/dev/ZBX-4586-trunk.
Hide
Alexander Vladishev added a comment - - edited

(1) A 'host' field is not used
class.citemgeneral.php:119,133

<pavels> RESOLVED.
<Sasha> CLOSED

Show
Alexander Vladishev added a comment - - edited (1) A 'host' field is not used class.citemgeneral.php:119,133 <pavels> RESOLVED. <Sasha> CLOSED
Hide
Alexander Vladishev added a comment - - edited

(2) class.citemgeneral.php:284 An error message violate coding guidelines.

<pavels> RESOLVED.
<Sasha> CLOSED

Show
Alexander Vladishev added a comment - - edited (2) class.citemgeneral.php:284 An error message violate coding guidelines. <pavels> RESOLVED. <Sasha> CLOSED
Hide
Alexander Vladishev added a comment - - edited

(3) Errors, when creating new item with applications:

  • in_array() expects parameter 2 to be array, null given [api/classes/class.citemgeneral.php:283]
  • Undefined index: name [api/classes/class.citemgeneral.php:284]
  • Application with ID "292" is not available on host "" [CItem.create -> CItem.checkInput -> CItemGeneral.checkInput]

<pavels> RESOLVED.
<Sasha> CLOSED

Show
Alexander Vladishev added a comment - - edited (3) Errors, when creating new item with applications:
  • in_array() expects parameter 2 to be array, null given [api/classes/class.citemgeneral.php:283]
  • Undefined index: name [api/classes/class.citemgeneral.php:284]
  • Application with ID "292" is not available on host "" [CItem.create -> CItem.checkInput -> CItemGeneral.checkInput]
<pavels> RESOLVED. <Sasha> CLOSED
Hide
Pavels Jelisejevs added a comment -

Merged to trunk r25140.

CLOSED.

Show
Pavels Jelisejevs added a comment - Merged to trunk r25140. CLOSED.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: