Project:Todolist
Version:5.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:mikewink
Status:closed (fixed)

Issue Summary

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

#1

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

#2

same issue. subscribing.

#3

Title:Editing task gives "Unknown AJAX Error: error Status: 404 not Found"» A simple typo I guess...
Assigned to:Anonymous» mikewink
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

#4

Category:support request» bug report
Status:needs review» fixed

Fixed. Thanks for your input! :)

#5

Status:fixed» closed (fixed)

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

nobody click here