Project

General

Profile

Bug #985

Annotations are not loaded properly in the edit dialog

Added by Luke Murphey over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
03/13/2015
Due date:
% Done:

100%

History

#1 Updated by Luke Murphey over 9 years ago

It looks like the problem is that the "get_all_link_group_annotation" macro doesn't work correctly when the to_device is empty.

#2 Updated by Luke Murphey over 9 years ago

Repro search:

`get_all_link_group_annotation(13, 0, 19.8e.06, )`

The report search is:

| stats count | eval command="13" | eval command=if(substr(command,1,1)=="0", substr(command,2,1), command) | eval all_link_group="0" | eval from_device="19.8e.06" | eval to_device="" | lookup all_link_annotations command all_link_group from_device to_device OUTPUTNEW annotation | fields command all_link_group from_device to_device annotation

Removing the lookup on to_device makes this work.

#3 Updated by Luke Murphey over 9 years ago

I'm not sure why this search succeeds:

sourcetype=insteon_plm from="19.8e.06" `get_command_info`   `lookup_all_link_group_annotation(command,from,to)`   `lookup_all_link_group_annotation(command,from)`| table _time status from to command options           | sort -_time

#4 Updated by Luke Murphey over 9 years ago

This does work:

| stats count | eval to="" | eval from="19.8e.06" | eval all_link_group="0" | eval cmd1=11  `lookup_all_link_group_annotation(command,from,to)`   `lookup_all_link_group_annotation(command,from)`| table _time status from to command options

#5 Updated by Luke Murphey over 9 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF