This question about Missing functionality: Task filed
can not change state
We are moving from Twiki to Foswiki. Our site is running Foswiki version
Foswiki-1.0.5, Sat, 25 Apr 2009, build 3705, Plugin API version
2.0
We could not change state of topics controlled by
ApprovalPlugin. (They did work in Twiki.)
I tried the
ControlledTopicExample and also failed to change state (I clicked the "Send for Review" button and nothing happed).
Please refer to the attached log file
I found a warning:
2009-05-16T03:36:45Z warning | Undefined subroutine &Fowiki::Func::getScriptUrl called at /var/www/foswiki/lib/Foswiki/Plugins/ApprovalPlugin.pm line 317.
the released code has error: Fowiki should be Foswiki. Is there an updated code for this?
--
ChunghuaLee - 16 May 2009
fixed and re-released as part of
Tasks.Item1628.
thanks for the bug report!
--
WillNorris - 16 May 2009
I've upgrade to the new release, but still not work in my environment.
I have added some debug info into
ApprovalPlugin.pm. After click 'send for review' button in
ControlledTopicExample, it always returned at this line in
beforeCommonTagsHandler return
unless ( $qState = $query->param('APPROVALSTATE')
and $qAction = $query->param('APPROVALACTION') );
could you please give me some directions to further debug it?
--
ChunghuaLee - 18 May 2009
I finally get it work on my installation by changing the form method from post to get.
--
ChunghuaLee - 18 May 2009
Are you sure? POST is really a super-set of GET, and GET is filtered for anything other than view. It seems unlikely to me that GET would ever make something work that didn't work with POST.
--
CrawfordCurrie - 19 May 2009
I tried again 'post',it did not work as described. I believe this is probabily my installation problem, maybe my cgi failed with post method. If you can give me some directions, I will be happy to try and test it.
--
ChunghuaLee - 19 May 2009