Item8283: Config.spec contains bad type specifier
Priority: Urgent
Current State: Closed
Released In:
Target Release:
Config.spec uses:
# **String 200**
# The default comment text that will be added to saved attachments.
$Foswiki::cfg{Plugins}{AttachContentPlugin}{AttachmentComment} = 'Generated by !AttachContentPlugin';
'String' is not a legal type in Config.spec, and will cause the {AttachmentComment} to be treated wuith default behaviours - in this case, as a 30 wide string instead of the requested 200.
You need to change it to:
# **STRING 200**
# The default comment text that will be added to saved attachments.
$Foswiki::cfg{Plugins}{AttachContentPlugin}{AttachmentComment} = 'Generated by !AttachContentPlugin';
Note that if you run
configure
with ASSERT enabled (set the env var FOSWIKI_ASSERTS) then it will pick up syntax errors like this.
--
CrawfordCurrie - 19 Sep 2009