Great module. I have a brand new 5.2 installation running on Apache 2.0.61 / PHP/5.2.4. On Firefox, adding, moving and deleting tasks works fine, but when attempting to edit a task, I get the message: "Unknown AJAX Error: error Status: 404 not Found."

Interestingly on IE 6.0, adding, moving, deleting, or editing tasks does not work at all. I get a JavaScript error "Expected identifier, string or number"... This is on a completely basic Drupal installation with only the Todolist and necessary required modules enabled.

The behavior above takes place regardless of installing Drupal in the base directory and enabling/disabling clean URLs. Any ideas? Thank you in advance.

Comments

dagomar’s picture

Same issue, subscribing...
(Very nice idea this module by the way! Might be cool to integrate it with event.module)

grah’s picture

same issue. subscribing.

Anonymous’s picture

Title: Editing task gives "Unknown AJAX Error: error Status: 404 not Found" » A simple typo I guess...
Assigned: Unassigned »
Status: Active » Needs review

Hi everyone,

I just found a simple solution for the annoying 404-Edit bug. It's a typo in the javascript file.

All you have to do is to change the following line (117) in the modules todolist.js file. Change:

url: 'index.php?q=todolist/edit_task?id='+id,

with this one:

url: 'index.php?q=todolist/edit_task&id='+id,

What has changed is the "?" between edit_task and id. Now there is the correct ampersand "&" symbol.

I hope this will be helpful for somebody!?

Hailstorm
Mike

ms2011’s picture

Category: support » bug
Status: Needs review » Fixed

Fixed. Thanks for your input! :)

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.