Item12478: Documentation incorrect for URLPARAM default= parameter.
Priority: Urgent
Current State: Closed
Released In: 1.1.9
Target Release: patch
Applies To: Engine
Component:
Branches: Release01x01 trunk
I was wondering why this
%URLPARAM{"q" default="foo"}% = foo
Does not return the default value when you
click me.
From the docu
default="..." Default value in case parameter is empty or missing
However when
q
is empty in the above "click me" test, no "foo" no see.
This is so basic, I wonder why this is going wrong...
--
MichaelDaum - 23 Apr 2013
This is incorrect documentation. I checked and it has been incorrect since (tm)wiki was first checked into CVS. Specifying ?q= gives q the empty value. The default only applies if it is given
no value.
Documentation requires correction.
--
CrawfordCurrie - 23 Apr 2013