Opened 13 years ago
Last modified 13 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)
Note:
See TracTickets
for help on using tickets.