- to reproduce

1) d0 a clean checkout of HEAD as of Thu Sep 8 20:10
2) created new/empty db to go with it
3) create a piece of content (story).
4) try to add a comment to that story

NOTE: you get the error: This discussion is closed: you can't post new comments.

Comments

harry slaughter’s picture

sorry, that's 20:10 PDT

harry slaughter’s picture

k, this bug seems to happen on my machine running php 5.0.4

but same setup on another machine is fine, it's running 4.3.10

harry slaughter’s picture

Assigned: Unassigned » harry slaughter

this is partially addressed in: http://drupal.org/node/31306

but with that patch, there's another bug in comments.module. i'm assumming it's probably fixed in some patch i don't have yet. i'll close this ticket when i see that things work again for myself.

michaelsb’s picture

This sounds like the problem I ran into. Try this patch and see if it fixes your problem:

http://drupal.org/node/30354

harry slaughter’s picture

i created a similar patch. but i think there's bad logic in the code. the edit[date] field is empty because the user is creating a comment, so there is no previous timestamp to make editable.

instead of setting the date, which should be getting set elsewhere, the code should be aware that the the user isn't able to edit a timestamp when the comment is created, and this data validation should not even take place.

but i definitely wouldn't be setting the value at this point in the code as your patch does.

harry slaughter’s picture

StatusFileSize
new905 bytes

attaching patch mentioned in last comment

harry slaughter’s picture

Status: Active » Needs review
dries’s picture

Status: Needs review » Closed (fixed)

This should have been taken care of.