Apparently we cannot submit nodes without setting an expiration date limit.
I tried:
- Setting just the expiration date on a content type, no other setting
When you try to submit a node you get the following error: "It must expire before 1970-01-01."
- Setting the expiration date and enabling scheduled (un)publishing, no other setting
Same error, even though all fields were filled...
Can anyone confirm?
Ricardo
Comments
Comment #1
philsward commentedAre you using the v1 or v2 of node expire? It sounds to me like you are using v1 but you have v2.02 as the problem version.
Update:
Never mind, I installed 2.02 and I see what you are talking about now.
I noticed that there is a "Default Date" and a "Max Date"
I set them both to something like +45 days and it seems to have liked it.
Comment #2
bennos commentedI can confirm. I have the same problem with the node expire ver. 2.02.
Can not submit new content without setting an node expire in ther workflow settings.
Comment #3
brmassa commentedGuys,
im sorry. i deleted a piece of code to make a test and i forgot to put it back before commit. fixed! soon on the next release.
regards,
massa
Comment #4
bennos commentedthx massa
Comment #5
rbl commentedThanks! Apparently it's fixed on 2.03 but I haven't tried it on a clean install.
Ricardo
Comment #6
jmaties commentedSorry with 2.03 i have the same problem :(
Comment #7
vik.nowak commentedI had the same issue with the 2.03 module as well, but I think i managed to track it down to the node_expire.nodeapi.inc. line 25.
otherwise the format_date function passes a default value of '1970-01-01'.
Comment #9
fletch11 commentedI'm getting this also. Anyone else?
Comment #10
zarudnyi commentedHi, it's work fine when i create new content, but when i trying to edit existing content i get 1970-01-01 as default value
Comment #11
japicoder commentedHi, I posted a solution here.
Hope this can help somebody.
Comment #12
zarudnyi commentedThank You, Tororebelde!
Your solution work fine for me. :)
Comment #13
gunjam commentedNevermind! ;D
Comment #14
vikramy commentedTake a look at this.
http://drupal.org/node/405608.
Comment #15
punithapary commented