Log message #107792

# At Username Text
# Aug 7th 2008, 00:11 polerin meh, I'm tired, and it's late, whatever :P
# Aug 7th 2008, 00:11 polerin ACTION tries to remeber what it was that the not null or default was a part of. 
# Aug 7th 2008, 00:10 polerin mm, kay
# Aug 7th 2008, 00:10 polerin btw, one in a table I've found that works is NULL
# Aug 7th 2008, 00:09 loki_racer flushing model did it
# Aug 7th 2008, 00:09 polerin look at my bin.
# Aug 7th 2008, 00:09 loki_racer i'm telling you, not unless you write the sql
# Aug 7th 2008, 00:09 loki_racer you can't remove it
# Aug 7th 2008, 00:08 polerin but I seem to remeber having an issue like that
# Aug 7th 2008, 00:08 polerin I could be wrong, and I've never had it force a default on me
# Aug 7th 2008, 00:08 loki_racer what, try removing the default?
# Aug 7th 2008, 00:08 polerin )
# Aug 7th 2008, 00:08 polerin try it
# Aug 7th 2008, 00:08 loki_racer oddly, it knows the new fields, but not all the fields after it
# Aug 7th 2008, 00:08 loki_racer i think it's that I added a field to the database table and didn't flush the model
# Aug 7th 2008, 00:07 loki_racer i don't think that is the issue since all my datetimes have default, phpmyadmin forces it
# Aug 7th 2008, 00:06 polerin http://pastebin.com/m15d269cf
# Aug 7th 2008, 00:06 polerin take the default off of the field
# Aug 7th 2008, 00:06 polerin yeah
# Aug 7th 2008, 00:05 loki_racer http://pastebin.com/d1ba82541
# Aug 7th 2008, 00:04 polerin no, I meen the table, is it specified that the value can be null, or that the field has a default value?
# Aug 7th 2008, 00:04 polerin is there a default value for the field in the table that is not saving?
# Aug 7th 2008, 00:04 loki_racer INSERT INTO `poll_answers_users` (`poll_answer_id`,`user_id`) VALUES (3,1)
# Aug 7th 2008, 00:04 loki_racer it's not null
# Aug 7th 2008, 00:03 polerin ah, is the field set as not-null? I seem to rember(though I could be wrong) that it doesn't do it's automagic if it can be null
# Aug 7th 2008, 00:03 loki_racer some tables it does, some it doesn't
# Aug 7th 2008, 00:03 polerin same with modified
# Aug 7th 2008, 00:03 loki_racer rather, why does cake not sometimes populate the created field automatically when the save method is used
# Aug 7th 2008, 00:03 polerin as long as it's a datetime
# Aug 7th 2008, 00:03 polerin loki_racer: what do you mean? It's autosaved the created field for a good while now
# Aug 7th 2008, 00:02 loki_racer why does cake sometimes now save the created field
# Aug 7th 2008, 00:02 polerin sorry, needed to make some tea
# Aug 6th 2008, 23:56 batcoder-7 polerin: anything would help
# Aug 6th 2008, 23:56 polywog tomas-: thanks, it's time for bed now
# Aug 6th 2008, 23:56 polerin and it's not going to be functional... i'm getting tired and have a bunch of work left tonight
# Aug 6th 2008, 23:55 polerin I'll bin a quickie, but it's not going to be perfect
# Aug 6th 2008, 23:55 polywog yup
# Aug 6th 2008, 23:55 batcoder-7 polerin: actually i dont see how to exactly do it with an array, i can see hwo that would be bthe best option but i just dont know what i have to do
# Aug 6th 2008, 23:55 polywog yeah, it's gotta be, cause all the docs I have here have the '>' to the right (as part of the value)
# Aug 6th 2008, 23:55 Raphael ciao
# Aug 6th 2008, 23:55 Raphael It will be for this evening