Posted by bonzai2007 on February 12, 2008 at 9:31am
Jump to:
| Project: | Todolist |
| Version: | 6.x-1.0-beta1 |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | needs review |
Issue Summary
hi,
i've installed it for testing and here are the bugs i have :
- on submit a new todolist, there is no tags at this step. Once created, there is the tags input, but don't works, tags are not registered.
- Add a new task don't work. lead to a blank page (todolist/create_task)
- there is no link to my created todolist anywhere.
Comments
#1
I experienced the same issue: the 'Add new task' link results in a blank page.
Using Firebug (script tab, Options -> break on all errors), I was able to trace the error to the fact that I was using both the Admin Menu module as well as the Todolist module and both modules creat javascript functions named 'i'. The developers for each module should better namespace their functions to avoid collision (e.g. todolist_i or tdl_i).
The immediate workaround for me was to disable the Admin Menu module. As soon as I did that I was able to use the 'Add new task' link with expected results.
#2
Got the same issue, even with admin menu disable.
Is there any patch ? New contrib ?
or is this project no more maintained ?
#3
Bad temporary workaround is modifiing todolist.js
function getBaseUrl() {var url = '';
/*var script = $.grep($('head > script'), function(i) {
return $(i).attr('src').indexOf('todolist.js') > -1
});
url = $(script).attr('src');*/
url="/modules/todolist/todolist.js";
url = url.substring(0, url.indexOf('modules/'));
if (url.indexOf('sites/') > -1)
url = url.substring(0, url.indexOf('sites/'));
return url;
}
#4
@mkalbere: your code allmost works, but now after submitting the task i'm getting a popup with "Unknown AJAX Error: error Status:400 Bad Request".
Is this even related?
#5
Error 400 is for malformed url ..
Is your Drupal installed in a subfolder ?
check :
url="/modules/todolist/todolist.js";
Do you have any javascript debugger installed (like firebug), try to see witch url is called ...
#6
Actually i think the prolem has to do with the conflic between jquery update and jquery interface ...
I can't really test this since i'm depended on jquery update.
Thanks for the help!
#7
On 6.x we use
Drupal.settings.basePath#8
Automatically closed -- issue fixed for 2 weeks with no activity.
#9
@marvil07: I am still running into this problem with both 6.x-1.0-beta & 6.x-1.x-dev. The module is installed in a local multisite (MAMP) environment @ sites/MY-DOMAIN/modules. I also have the current versions of jquery_ui & jquery_update properly installed. Any advice?
#10
I was able to get it to work as expected downloading stable releases of todolist, jquery_ui and jquery_update using Drush - and enabling using drush (after downloading jquery ui library and installing per instructions). The only differences between my working installation and the above issue is A. initially i was testing on a multisite (likely not the problem), and B. I was using jquery_update dev version (most likely the issue). Setting issue back to fixed.
#11
Automatically closed -- issue fixed for 2 weeks with no activity.
#12
I was trying to test this module, to see how it works and if it's something I want to port to D7
However I get the WSOD when I try to add a task. I have been trying all different of combinations of Dev/Latest version of this module, Jquery_ui and Jquery update.
Please advice.