Should there be a comma after the closing brace preceding that line?

From: rt-users-boun...@lists.bestpractical.com 
[mailto:rt-users-boun...@lists.bestpractical.com] On Behalf Of Randy Black
Sent: Monday, October 10, 2011 5:08 PM
To: rt-users@lists.bestpractical.com
Subject: [rt-users] Custom Status 4.0.2


Using the sample, my config fails to load - it says it fails on line 98 which 
would correspond with the "defaults => {" line (notice the S on defaults, not 
the "default" line).

This example was found @ 
http://requesttracker.wikia.com/wiki/CustomStatusesInRt4 so either the wiki is 
wrong, I read and implemented something wrong or my sample is wrong....

Randy


Set(%Lifecycles,

default => {
        initial => [ 'new' ],
        active  => [ 'open', 'ABC', 'At_Client', 'ABC-E', 'Developing', 
'stalled' ],
        inactive => [ 'resolved', 'rejected', 'deleted' ],
        }

defaults => {
        on_create => 'new',
        on_merge  => 'resolved',
        approved  => 'open',
        denied    => 'rejected',
        },

[snip]

--------
RT Training Sessions (http://bestpractical.com/services/training.html)
*  San Francisco, CA, USA — October 18 & 19, 2011
*  Washington DC, USA — October 31 & November 1, 2011
*  Barcelona, Spain — November 28 & 29, 2011

Reply via email to