Download & Extend

The 'connect' option is deprecated and will be removed in the future in mongodb()

Project:Mongodb
Version:7.x-1.x-dev
Component:Miscellaneous
Category:bug report
Priority:normal
Assigned:Unassigned
Status:needs work
Issue tags:connect option, connection, constructor, database connection

Issue Summary

Title says it all. Please remove the connect option from line 34 in mongodb.module

Comments

#1

Here is the patch

AttachmentSizeStatusTest resultOperations
connect_option_removed-1866622-0.patch605 bytesIdleFAILED: [[SimpleTest]]: [MySQL] 11 pass(es), 6 fail(s), and 0 exception(s).View details | Re-test

#2

Status:needs work» needs review

#3

Status:needs review» needs work

The last submitted patch, connect_option_removed-1866622-0.patch, failed testing.

#4

Version:7.x-1.0-rc2» 7.x-1.x-dev

#5

This would need some rationale: the module needs to support not only recent versions but, to a certain extent, older ones.

Will this soon-to-be-deprecated option cause an error if used on a recent server, or just be ignored ? And will its removal actually cause a problem on older versions ? If that's the case, the patch needs to account for both situations.

nobody click here