I created a table contacts and a table groups, both were working fine, than I added a databasejoin with a multi select dropdown box between contacts and groups which results in an error:
500 Fabrik has generated an incorrect query for the list Contatos: <br /><br /><pre> SQL=SELECT SQL_CALC_FOUND_ROWS DISTINCT `contact`.`id` AS `contact___id`, `contact`.`id` AS `contact___id_raw`, `contact`.`date_time` AS `contact___date_time`, `contact`.`date_time` AS `contact___date_time_raw`, `contact`.`Name` AS `contact___Name`, `contact`.`Name` AS `contact___Name_raw`, (SELECT GROUP_CONCAT(lookup.Groupname SEPARATOR '//..*..//&apos FROM contact_repeat_GroupLEFT JOIN contactgroup AS lookup ON lookup.id = contact_repeat_Group.Group WHERE contact_repeat_Group.parent_id = `contact`.`id`) AS contact___Group, (SELECT GROUP_CONCAT(id SEPARATOR '//..*..//&apos FROM contact_repeat_Group WHERE parent_id = `contact`.`id`) AS `contact___Group_raw`, (SELECT GROUP_CONCAT(Group SEPARATOR '//..*..//&apos FROM contact_repeat_Group WHERE contact_repeat_Group.parent_id = `contact`.`id`) AS contact___Group_id, (SELECT GROUP_CONCAT(params SEPARATOR '//..*..//&apos FROM contact_repeat_Group WHERE parent_id = `contact`.`id`) AS `contact___Group___params`, `contact`.`id` AS slug , `contact`.`id` AS `__pk_val`
FROM `contact` LIMIT 0, 10</pre>
For me it seems that for some reason the ' tag is not resolved.
Any Ideas or hints?
500 Fabrik has generated an incorrect query for the list Contatos: <br /><br /><pre> SQL=SELECT SQL_CALC_FOUND_ROWS DISTINCT `contact`.`id` AS `contact___id`, `contact`.`id` AS `contact___id_raw`, `contact`.`date_time` AS `contact___date_time`, `contact`.`date_time` AS `contact___date_time_raw`, `contact`.`Name` AS `contact___Name`, `contact`.`Name` AS `contact___Name_raw`, (SELECT GROUP_CONCAT(lookup.Groupname SEPARATOR '//..*..//&apos FROM contact_repeat_GroupLEFT JOIN contactgroup AS lookup ON lookup.id = contact_repeat_Group.Group WHERE contact_repeat_Group.parent_id = `contact`.`id`) AS contact___Group, (SELECT GROUP_CONCAT(id SEPARATOR '//..*..//&apos FROM contact_repeat_Group WHERE parent_id = `contact`.`id`) AS `contact___Group_raw`, (SELECT GROUP_CONCAT(Group SEPARATOR '//..*..//&apos FROM contact_repeat_Group WHERE contact_repeat_Group.parent_id = `contact`.`id`) AS contact___Group_id, (SELECT GROUP_CONCAT(params SEPARATOR '//..*..//&apos FROM contact_repeat_Group WHERE parent_id = `contact`.`id`) AS `contact___Group___params`, `contact`.`id` AS slug , `contact`.`id` AS `__pk_val`
FROM `contact` LIMIT 0, 10</pre>
For me it seems that for some reason the ' tag is not resolved.
Any Ideas or hints?