Trigger with OR condition is not working. Testing is ok.

XMLWordPrintable

    • Type: Incident report
    • Resolution: Won't fix
    • Priority: Major
    • None
    • Affects Version/s: 2.0.2
    • Component/s: Server (S)

      Creating a Trigger I added the following two conditions with OR:

      {Template Varnish:vfs.file.exists[/var/run/varnishd.pid].last(0)}

      =0 |

      {Template Varnish:vfs.file.size[/var/run/varnishd.pid].count(70,0,eq)}

      >1

      At the test page it does work fine but at real it doesn't.

      If I made separated triggers both work fine. They just don't work together

      If I put

      {Template Varnish:vfs.file.exists[/var/run/varnishd.pid].last(0)}

      =0 it triggers ok when the file /var/run/varnishd.pid doesn't exists, but with I combine it with the other expression the triggers do nothing. It is supposed to be OR so it should trigger anyways, no matter is at the second condition.

            Assignee:
            Unassigned
            Reporter:
            Sergio
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: