MongoDB doesn't have a delete method, instead it has remove.

This causes a fatal error when trying to delete a menu in mongodb_block_ui_menu_delete():

Fatal error: Call to undefined method MongoCollection::delete() in sites/all/modules/contrib/mongodb/mongodb_block_ui/mongodb_block_ui.module

Comments

psynaptic’s picture

StatusFileSize
new1.02 KB

Patch attached.

langworthy’s picture

Status: Active » Needs review
StatusFileSize
new535 bytes

Patch needs to be created from the mongodb module root.

Status: Needs review » Needs work

The last submitted patch, no_delete_method-1335326-2.patch, failed testing.

misc’s picture

Status: Needs work » Reviewed & tested by the community
misc’s picture

Status: Reviewed & tested by the community » Closed (fixed)

Patch commited to latest 7.x-1.x.

misc’s picture

Status: Closed (fixed) » Fixed
psynaptic’s picture

Thanks :)

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.