In an edit form is the entry date supposed to change? |
|
|
Posted: 01 September 2010 03:11 AM |
[ Ignore ]
|
|
Circled in the Yearbook
Total Posts: 702
Joined 2010-04-08
|
Hi guy’s, is it right that when editing an entry that the entry date is updated to the time the edit was made?
Best wishes
Lee
|
|
|
|
|
Posted: 01 September 2010 03:13 AM |
[ Ignore ]
[ # 1 ]
|
|
Teen Scream
Total Posts: 3541
Joined 2009-05-29
|
No, it shouldn’t change unless you have actually changed it. It may be a bug. Dealing with dates in EE2 has been a huge pain for developers.
|
|
|
|
|
Posted: 01 September 2010 03:14 AM |
[ Ignore ]
[ # 2 ]
|
|
Circled in the Yearbook
Total Posts: 702
Joined 2010-04-08
|
Could be a bug then, my edit form isn’t changing it.
|
|
|
|
|
Posted: 01 September 2010 03:15 AM |
[ Ignore ]
[ # 3 ]
|
|
Teen Scream
Total Posts: 3541
Joined 2009-05-29
|
When you go to edit, take note of the entry date before you submit. Then, submit, and note the new entry date. If they’re different, what’s the difference between the two?
|
|
|
|
|
Posted: 01 September 2010 03:18 AM |
[ Ignore ]
[ # 4 ]
|
|
Circled in the Yearbook
Total Posts: 702
Joined 2010-04-08
|
The time difference is the time between when the entry was first entered and when the edit was made. It’s not a fixed amount of time as such, just depends.
|
|
|
|
|
Posted: 01 September 2010 03:18 AM |
[ Ignore ]
[ # 5 ]
|
|
Teen Scream
Total Posts: 3541
Joined 2009-05-29
|
I see, so when you go to edit, entry_date is showing the current time?
|
|
|
|
|
Posted: 01 September 2010 03:20 AM |
[ Ignore ]
[ # 6 ]
|
|
Circled in the Yearbook
Total Posts: 702
Joined 2010-04-08
|
I’m not pulling the entry date into the edit form - -could that be the problem? I assumed it would stay unchanged.
|
|
|
|
|
Posted: 01 September 2010 03:21 AM |
[ Ignore ]
[ # 7 ]
|
|
Teen Scream
Total Posts: 3541
Joined 2009-05-29
|
Let’s try adding this for now (though I do want to get this issue cleaned up on our end eventually):
<input type="hidden" name="entry_date" value="{entry_date}" />
|
|
|
|
|
Posted: 01 September 2010 03:25 AM |
[ Ignore ]
[ # 8 ]
|
|
Circled in the Yearbook
Total Posts: 702
Joined 2010-04-08
|
|
|
|
|
|
Posted: 01 September 2010 03:25 AM |
[ Ignore ]
[ # 9 ]
|
|
Teen Scream
Total Posts: 3541
Joined 2009-05-29
|
Sweeeeeeeet
|
|
|
|
|
Posted: 01 September 2010 03:29 AM |
[ Ignore ]
[ # 10 ]
|
|
Circled in the Yearbook
Total Posts: 702
Joined 2010-04-08
|
Yep - - thanks a lot. So for now every field has to be pulled into the edit form, even if it’s not being edited, which is no big deal. Will this alway be the case, or will you make some changes?
|
|
|
|
|
Posted: 01 September 2010 03:31 AM |
[ Ignore ]
[ # 11 ]
|
|
Teen Scream
Total Posts: 3541
Joined 2009-05-29
|
The intent is that if a field is not present in the form it will keep the existing value. It’s clearly not working properly for entry_date, but I think it should work for all your other custom fields.
|
|
|
|
|
Posted: 01 September 2010 03:32 AM |
[ Ignore ]
[ # 12 ]
|
|
Circled in the Yearbook
Total Posts: 702
Joined 2010-04-08
|
Nice to have met you
|
|
|
|
|
Posted: 04 September 2010 03:02 AM |
[ Ignore ]
[ # 13 ]
|
|
Circled in the Yearbook
Total Posts: 702
Joined 2010-04-08
|
Rob Sanchez - 01 September 2010 03:31 AM The intent is that if a field is not present in the form it will keep the existing value. It’s clearly not working properly for entry_date, but I think it should work for all your other custom fields.
It’s not working for categories :(
Entries updated using an edit form that dosen’t have the categories in will have it’s categories removed.
[ Edited: 04 September 2010 03:08 AM by ifonly ]
|
|
|
|
|
Posted: 07 September 2010 11:08 PM |
[ Ignore ]
[ # 14 ]
|
|
Circled in the Yearbook
Total Posts: 702
Joined 2010-04-08
|
Bumpity bump
|
|
|
|
|
Posted: 07 September 2010 11:09 PM |
[ Ignore ]
[ # 15 ]
|
|
Teen Scream
Total Posts: 3541
Joined 2009-05-29
|
It’s already fixed in my dev build
I’ll have a new public build out soon, in the next few days.
|
|
|
|