Closed Bug 902117 Opened 11 years ago Closed 11 years ago

Creation dates of makes are off

Categories

(Webmaker Graveyard :: MakeAPI, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: brett, Assigned: cade)

References

Details

Attachments

(1 file)

So this is a known bug, but we need to fix.

Creation dates are off wildly, so that almost all makes say they were created yesterday etc.  This is very confusing for users and we should invest in the solution.
Completing bug 888290 should fix this issue. Shall I make that my priority for this week?
Status: NEW → ASSIGNED
Flags: needinfo?(brett)
Depends on: 888290
Instead of waiting for the elastical/sequelize change, I'm just going to remove the pre save hook and handle `updatedAt` updating in the update route (which apparently was already being done >.>)
Attachment #787663 - Flags: review?(david.humphrey)
Flags: needinfo?(brett)
Brett - did you mean the "updatedAt" field instead of "createdAt"? I've never seen or heard of createdAt being set incorrectly.
Flags: needinfo?(brett)
Comment on attachment 787663 [details] [review]
https://github.com/mozilla/MakeAPI/pull/132

Looks good to me.

Flagging Brett for feedback based on question cade asked above.
Attachment #787663 - Flags: review?(david.humphrey)
Attachment #787663 - Flags: review+
Attachment #787663 - Flags: feedback?(brett)
Right, Chris.  You're correct its the "updated at" messaging in MyMakes that is confusing.  i updated a make and checked in the makeEditor, the createdAt day was still correct. Land away.
Flags: needinfo?(brett)
Commit pushed to master at https://github.com/mozilla/MakeAPI

https://github.com/mozilla/MakeAPI/commit/64660dcc4ac4aa8af258f9553afda7b59867631b
Bug 902117 - Remove pre save hook that updates updatedAt field
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Attachment mime type: text/plain → text/x-github-pull-request
feedback!
Attachment #787663 - Flags: feedback?(brett)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: