Opened 15 years ago

Last modified 15 years ago

#198 closed defect (FIXED)

Actively create MediaEntry ObjectId() instead of relying on entry.save() to make it

Reported by: Christopher Allan Webber Owned by: Christopher Allan Webber
Priority: minor Milestone: 0.0.5
Component: programming Keywords:
Cc: Parent Tickets:

Description

Currently we use .save() to generate the ObjectId, but this is silly, and actually can cause an error when there already exists something with the same slug (and our auto-slug-generation tool might not catch it). We should do ['_id] = ObjectId() instead to explicitly create this.

Change History (2)

comment:1 by Christopher Allan Webber, 15 years ago

Status: NewClosed

Done in commit f64e5250906401a3d5a5fc587521bc31e146859c

comment:2 by Will Kahn-Greene, 14 years ago

The original url for this bug was http://bugs.foocorp.net/issues/492 .

Note: See TracTickets for help on using tickets.