View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
115 | WADF | Core | public | 27 Nov 2008 17:31 | 12 Dec 2008 09:48 |
Reporter | timj | Assigned To | timj | ||
Priority | normal | Severity | feature | Reproducibility | N/A |
Status | closed | Resolution | fixed | ||
Target Version | 0.10.1 | Fixed in Version | 0.10.1 | ||
Summary | 115: Add special macro to die when deploying/reprocessing if a value is not present | ||||
Description | A 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 = !! | ||||
Tags | No tags attached. | ||||
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 |