Closed (won't fix)
Project:
MongoDB
Version:
7.x-1.x-dev
Component:
Field storage
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
13 Feb 2013 at 10:54 UTC
Updated:
26 Mar 2013 at 01:44 UTC
I have tried your module, working fine with mysql, however when installed the site again and switched to mongodb field storage engine, the queries stopped working and i got lot of mongodb exceptions. It looks like the extrafields are not added to the returned EntityFieldQueryExtraFields result when using mongodb.
Is it issue with this module that is not agnostic enough or is this a MongoDB issue?
Comments
Comment #1
greg_meszaros commentedOk i think i found the issue. The mongodb_field_storage.module is not implementing the finishQuery function (defined in entity.inc), which is overriden in efq_extra_field.module.
Can we move this issue under mongodb project? I have fixed the issue for my needs, but i think it needs lot of discussion with the main contributor of the mongodb module before producing patch or anything.
Comment #2
nick_vhPlease move it. As far as I know I am not doing anything database specific.
Comment #3
chx commentedAs for #2 the whole module is nothing but SQL... but I will see whether we can do anything helpful. Like, change the returned object to return everything :)
But then again the whole module is violating the semantics of the entities so I am inclined to wont fix.
Comment #4
chx commented