Item5916: Add IsEmpty To IF conditions
Priority: Enhancement
Current State: Closed
Released In: 1.0.0
Target Release: patch
Applies To: Engine
Component:
Branches:
--
TWiki:Main/RafaelAlvarez - 11 Aug 2008
Hi Rafael,
TWiki::Request::queryParam()
should be used only by engines during its preparation phase. TWiki core and plugins should use
TWiki::Request::param()
, that doesn't distinguish between query and body parameters, with the same semantics as
CGI::param()
--
TWiki:Main.GilmarSantosJr - 11 Aug 2008
I misunderstood the documentation. I'll update this tonight. Thanks
--
TWiki:Main.RafaelAlvarez - 11 Aug 2008
Raf, the
isempty
operator applies only to the %IF statement. If you implemented it in the
TWiki::Query
base class, then it would also be available to queries. This would affect both the implementation and the documentation, and there may be reasons you chose not to do this, but i thought I'd mention it anyway.
--
CrawfordCurrie - 12 Aug 2008
What is missing on this one? It seems like a Waiting for Release to me.
If there is an additional feature to be added please raise a new Task item.
I this in Waiting For Release so it gets into the release note of 1.0.0.
Reopen if my assessment is wrong.
--
KennethLavrsen - 11 Dec 2008
Kenneth, this is in fact, ready for release. The functionality that I originally proposed is coded and unit-tested.
What is "missing" is the suggestion by Crawfordto move it from IF to
QUERY so it can be used by searches. I plan to do that after 1.0.
I'll create another task to track that
--
RafaelAlvarez - 11 Dec 2008