SID-01168: ACTIONSEARCH returns results in TWiki, but not in my Web
| Status: |
Unanswered |
TWiki version: |
4.2.3 |
Perl version: |
|
| Category: |
ActionTrackerPlugin |
Server OS: |
Windows NT |
Last update: |
14 years ago |
The example in TWiki-->ActionTrackerPlugin works. If I move the ACTIONSEARCH to my Web and add the parameter "web=TWiki", it works.
But, if I move the ACTION from the TWiki page to a page on my Web, then use the same query with parameters suitably adjusted (i.e. "web=MyWeb topic=TargetTopic") no results are returned.
I suspect that there is a
WebParameter missing or set wrong, but haven't been able to locate any clues in the Support web thus far.
--
PaulOpitz - 2011-05-06
Discussion and Answer
I have not looked into details, but it could be an issue with the form target action using
/%WEB%/ instead of
/%BASEWEB%/. For example, if you include a page from another web and that page has an HTML form, that form's action needs to use the BASEWEB if you want to take action in the current web.
--
PeterThoeny - 2011-05-07
If that were the case, what would I do to either confirm or fix?
--
PaulOpitz - 2011-05-09
Still parsing your sentence, but there are no INCLUDE statements on either page (I think that is what you were suggesting...).
--
PaulOpitz - 2011-05-09
Here is the code that is not working on that Web (but is on my TWiki web). Note that all of this is on the
RCProjectSummary page:
%ACTION{ created="2011-05-06" creator="Main.TWikiGuest" due="2003-01-01" state="open" uid="000069" who="Main.TWikiGuest" }% Example action %ENDACTION%
%ACTIONSEARCH{topic=RCProjectSummary who=TWikiGuest header="|Who|Due|State|Description|" format="| $who |$due|$state|$text $link|" orient="rows" }%
--
PaulOpitz - 2011-05-09
Closing this question after more than 30 days of inactivity. Feel free to reopen if needed. Consider engaging one of the
TWiki consultants if you need timely help. We invite you to
get involved with the community, it is more likely you get community support if you support the open source project!
--
PeterThoeny - 2011-07-08
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.