gnats-prs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gnats/551: add-audit-trail/audit-trail-format are not skipped when on-ch


From: bug-gnats
Subject: gnats/551: add-audit-trail/audit-trail-format are not skipped when on-change condition fails
Date: Fri, 16 Dec 2005 04:36:52 -0600 (CST)

>Number:         551
>Category:       gnats
>Synopsis:       add-audit-trail/audit-trail-format are not skipped when 
>on-change condition fails
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Dec 16 04:36:52 -0600 2005
>Originator:     address@hidden (Alex Manoussakis)
>Release:        4.1
>Organization:
>Environment:
>Description:
According to the documentation, if the optional query-expression fails to 
match, the actions of the on-change
blocked are skipped.
This is not the case with the add-audit-trail and audit-trail-format options.
They are never skipped. Furthermore, even if there are multiple on-change 
blocks with add-audit-trail entries,
only the first add-audit-trail is acted upon.
This PR is somewhat related to gnats/491
>How-To-Repeat:
on-change "Category==\"bogus\"" {
        require-change-reason
        add-audit-trail
    }
    on-change {
        add-audit-trail
        audit-trail-format {
            format "**** Test ****\n"
            fields { "" }
        }
    }
>Fix:
Unknown
>Notify-List:    address@hidden,address@hidden
>Unformatted:





reply via email to

[Prev in Thread] Current Thread [Next in Thread]