Hi, all (ajax) forms to add things (context, project, tados,...) return 
404's.
The submissions do work however: the requests are processed and the 
necessary data saved to the database, but still a 404 is returned...
Why is this? I assume this is not indented behavior? Can it be fixed?
I checked this on 1.7 HEAD.  (I cannot start my 1.6 anymore so I cannot 
check there)

in firebug, after submitting a todo:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<HTML>
  <HEAD><TITLE>Not Found</TITLE></HEAD>
  <BODY>
    <H1>Not Found</H1>
    `/todos' not found.
    <HR>
    <ADDRESS>
     WEBrick/1.3.1 (Ruby/1.8.6/2007-09-24) at
     localhost:3000
    </ADDRESS>
  </BODY>
</HTML>

with telnet, POST'ing manually:
[EMAIL PROTECTED]:~$ telnet localhost 3000
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
POST /contexts HTTP/1.1

HTTP/1.1 404 Not Found
Connection: close
Date: Thu, 21 Aug 2008 19:28:16 GMT
Content-Type: text/html
Server: WEBrick/1.3.1 (Ruby/1.8.6/2007-09-24)
Content-Length: 278

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<HTML>
  <HEAD><TITLE>Not Found</TITLE></HEAD>
  <BODY>
    <H1>Not Found</H1>
    `/contexts' not found.
    <HR>
    <ADDRESS>
     WEBrick/1.3.1 (Ruby/1.8.6/2007-09-24) at
     127.0.0.1:3000
    </ADDRESS>
  </BODY>
</HTML>
Connection closed by foreign host.


PS: Reinier can you please keep your db/tracks-15-blank.db in sync with 
your code?
It would make it easier when switching between my code and yours, then I 
don't need to run migrations every time :-)
(or am I missing something? is it supposed to be this way?)

Dieter

_______________________________________________
Tracks-discuss mailing list
[email protected]
http://lists.rousette.org.uk/mailman/listinfo/tracks-discuss

Reply via email to