View Issue Details

IDProjectCategoryView StatusLast Update
115WADFCorepublic12 Dec 2008 09:48
Reportertimj Assigned Totimj  
PrioritynormalSeverityfeatureReproducibilityN/A
Status closedResolutionfixed 
Target Version0.10.1Fixed in Version0.10.1 
Summary115: Add special macro to die when deploying/reprocessing if a value is not present
DescriptionA special macro value "!!" (or similar) would be really handy to flag that a value *should* be defined but is not, and therefore needs fixing. This differs from %% in that %% prompts at runtime, whereas !! would mean that it should already be defined before runtime, and therefore a macro resolving to !! is broken.

A good example would be a site where one e-mail address is used for testing and different one is used for live, but during an early development stage the latter is not known. Therefore a client wadf.conf could look like this:

[globals]
; NB this is a custom macro
admin_email_address = me@example.com

[live]
admin_email_address = !!
TagsNo tags attached.

Activities

timj

27 Nov 2008 21:05

manager   ~134

Fixed in SVN r1358
The new special macro value is "**" (because ! is special in ini file parsing)

Issue History

Date Modified Username Field Change
27 Nov 2008 17:31 timj New Issue
27 Nov 2008 21:05 timj Status new => resolved
27 Nov 2008 21:05 timj Fixed in Version => 0.10.1
27 Nov 2008 21:05 timj Resolution open => fixed
27 Nov 2008 21:05 timj Assigned To => timj
27 Nov 2008 21:05 timj Note Added: 134
27 Nov 2008 21:15 timj Target Version => 0.10.1
12 Dec 2008 09:48 timj Status resolved => closed