1 of 2
1
In an edit form is the entry date supposed to change?
Posted: 01 September 2010 03:11 AM   [ Ignore ]
Circled in the Yearbook
RankRankRank
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

Profile
 
 
Posted: 01 September 2010 03:13 AM   [ Ignore ]   [ # 1 ]
Teen Scream
Avatar
RankRankRank
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.

Profile
 
 
Posted: 01 September 2010 03:14 AM   [ Ignore ]   [ # 2 ]
Circled in the Yearbook
RankRankRank
Total Posts:  702
Joined  2010-04-08

Could be a bug then, my edit form isn’t changing it.

Profile
 
 
Posted: 01 September 2010 03:15 AM   [ Ignore ]   [ # 3 ]
Teen Scream
Avatar
RankRankRank
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?

Profile
 
 
Posted: 01 September 2010 03:18 AM   [ Ignore ]   [ # 4 ]
Circled in the Yearbook
RankRankRank
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.

Profile
 
 
Posted: 01 September 2010 03:18 AM   [ Ignore ]   [ # 5 ]
Teen Scream
Avatar
RankRankRank
Total Posts:  3541
Joined  2009-05-29

I see, so when you go to edit, entry_date is showing the current time?

Profile
 
 
Posted: 01 September 2010 03:20 AM   [ Ignore ]   [ # 6 ]
Circled in the Yearbook
RankRankRank
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.

Profile
 
 
Posted: 01 September 2010 03:21 AM   [ Ignore ]   [ # 7 ]
Teen Scream
Avatar
RankRankRank
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}" /> 
Profile
 
 
Posted: 01 September 2010 03:25 AM   [ Ignore ]   [ # 8 ]
Circled in the Yearbook
RankRankRank
Total Posts:  702
Joined  2010-04-08

That worked.

Profile
 
 
Posted: 01 September 2010 03:25 AM   [ Ignore ]   [ # 9 ]
Teen Scream
Avatar
RankRankRank
Total Posts:  3541
Joined  2009-05-29

Sweeeeeeeet smile

Profile
 
 
Posted: 01 September 2010 03:29 AM   [ Ignore ]   [ # 10 ]
Circled in the Yearbook
RankRankRank
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?

Profile
 
 
Posted: 01 September 2010 03:31 AM   [ Ignore ]   [ # 11 ]
Teen Scream
Avatar
RankRankRank
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.

Profile
 
 
Posted: 01 September 2010 03:32 AM   [ Ignore ]   [ # 12 ]
Circled in the Yearbook
RankRankRank
Total Posts:  702
Joined  2010-04-08

Nice to have met you smile

Profile
 
 
Posted: 04 September 2010 03:02 AM   [ Ignore ]   [ # 13 ]
Circled in the Yearbook
RankRankRank
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 ]
Profile
 
 
Posted: 07 September 2010 11:08 PM   [ Ignore ]   [ # 14 ]
Circled in the Yearbook
RankRankRank
Total Posts:  702
Joined  2010-04-08

Bumpity bump smile

Profile
 
 
Posted: 07 September 2010 11:09 PM   [ Ignore ]   [ # 15 ]
Teen Scream
Avatar
RankRankRank
Total Posts:  3541
Joined  2009-05-29

It’s already fixed in my dev build smile

I’ll have a new public build out soon, in the next few days.

Profile
 
 
   
1 of 2
1