Work with OG 1.x, but not OG 2.x

Comments

_randy’s picture

Status: Active » Postponed (maintainer needs more info)

What are the errors you've encountered?

chrisns’s picture

PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'drupal.og' doesn't exist: SELECT e.label AS groupname, a.assign_id AS assign_id, a.assign_type AS assign_type, a.assign_by AS assign_by, b.variable_name AS variable_name, c.name AS username, d.name AS rolename FROM {maestro_template_assignment} a LEFT OUTER JOIN {maestro_template_variables} b ON a.assign_id=b.id LEFT OUTER JOIN {users} c ON a.assign_id=c.uid LEFT OUTER JOIN {role} d ON a.assign_id=d.rid LEFT OUTER JOIN {og} e ON a.assign_id=e.gid WHERE (a.template_data_id = :db_condition_placeholder_0) ; Array ( [:db_condition_placeholder_0] => 14 ) in MaestroTaskInterface->getAssignmentDisplay() (line 518 of /var/www/html/sites/all/modules/maestro/maestro_task_interface.class.php).

there is apparently no longer an og table with og 2.x
you reference it in quite a few places in various files :(
If we decide to use maestro for the project I'm working on, I will be forced to build a fix so will publish a patch if no one else beats me to it

_randy’s picture

Yes.. You are 100% correct. Either this needs to be patched to work with OG 1.x and 2.x or in the interim we have a release that only has OG 1.x as the branch supported.

I would like to see both branches supported, but that has to be coded properly to determine versions installed.

MarcusOaten’s picture

Apart from determining version installed, does anyone have anything else to add.

MarcusOaten’s picture

Another way to put this is, make it work with neither.