affects and hostname

Error message

Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'comment_node_forum_form' not found or invalid function name in drupal_retrieve_form() (line 844 of /var/www/www.gremwell.com/includes/form.inc).

Is it possible to write the hostname after affects in the Report?
It don't get it to work because "affects" and "hostname" are separate leafs of "host".

{{//finding[@title = $_0 and @status!='ignore']|hidden}}{{affects}}

You can do it like this:
{{//finding[@title = $_0 and @status!='ignore']|hidden}}{{affects}}{{ancestor::host/hostname}}

...that was easy. Thank you!

I found a problem. When the "hostname" value is empty it deletes the hole row.
Is it possible, that the "affects" value will be displayed although "hostname" is partially an empty value?

If you want the row to be displayed even when hostname is empty, use {{hostname|leaf}} instead of {{hostname}}

Add new comment

CAPTCHA
Please answer the question to prove that you are not a spammer. If it isn't working and you are not a spammer, please email us.
Fill in the blank.