Loading...
 
Skip to main content

not possible to ADD new task into user tasks in user-task module

Status
Closed
Subject
not possible to ADD new task into user tasks in user-task module
Version
1.9.x
Category
  • Error
  • Patch
Feature
MyTiki
Modules
Task
Resolution status
Fixed or Solved
Submitted by
k2s
Volunteered to solve
k2s
Lastmod by
Marc Laporte
Rating
(0)
Description

if you enable user-task module and you are on URL with some querty, like http://server/tiki-index.php?page=xxxxx and you try to add new user taks, you will get errror

because the string which is created as action for form submit is wring

Solution

cvs -z9 diff -wb — mod-user_tasks.php mod-user_tasks_public.php (in directory D:\web\root\tikiwiki\tikiwiki\modules)
Index: mod-user_tasks.php
=============
RCS file: /cvsroot/tikiwiki/tiki/modules/mod-user_tasks.php,v
retrieving revision 1.11
diff -w -b -r1.11 mod-user_tasks.php
41c41
< $smarty->assign('ownurl', $tikilib->httpPrefix().$_SERVER%22SCRIPT_NAME%22.urlencode($_SERVER%22QUERY_STRING%22));


> $smarty->assign('ownurl', $tikilib->httpPrefix().$_SERVER%22SCRIPT_NAME%22.'?'.urlencode($_SERVER%22QUERY_STRING%22));
Index: mod-user_tasks_public.php
=============
RCS file: /cvsroot/tikiwiki/tiki/modules/mod-user_tasks_public.php,v
retrieving revision 1.4
diff -w -b -r1.4 mod-user_tasks_public.php
15c15
< $smarty->assign('ownurl', $tikilib->httpPrefix().$_SERVER%22SCRIPT_NAME%22.urlencode($_SERVER%22QUERY_STRING%22));


> $smarty->assign('ownurl', $tikilib->httpPrefix().$_SERVER%22SCRIPT_NAME%22.'?'.urlencode($_SERVER%22QUERY_STRING%22));

Importance
5
Priority
25
Demonstrate Bug on Tiki 19+
Please demonstrate your bug on show2.tiki.org
Demonstrate Bug (older Tiki versions)
Ticket ID
441
Created
Friday 16 December, 2005 19:20:26 UTC
by Unknown
LastModif
Sunday 18 June, 2017 23:01:14 UTC


Collapse/expand modules below
Show PHP error messages