Item8283: Config.spec contains bad type specifier

pencil
Priority: Urgent
Current State: Closed
Released In:
Target Release:
Applies To: Extension
Component: AttachContentPlugin
Branches:
Reported By: Foswiki:Main.CrawfordCurrie
Waiting For:
Last Change By: ArthurClemens
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

 

ItemTemplate edit

Summary Config.spec contains bad type specifier
ReportedBy Foswiki:Main.CrawfordCurrie
Codebase
SVN Range Foswiki-1.0.6, Sun, 21 Jun 2009, build 4272
AppliesTo Extension
Component AttachContentPlugin
Priority Urgent
CurrentState Closed
WaitingFor
Checkins AttachContentPlugin:fa42965e050c
ReleasedIn
Topic revision: r2 - 19 Sep 2009, ArthurClemens
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy