Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't play at all with Association Field #15

Open
munki-boy opened this issue Nov 1, 2014 · 1 comment
Open

Doesn't play at all with Association Field #15

munki-boy opened this issue Nov 1, 2014 · 1 comment
Assignees
Labels

Comments

@munki-boy
Copy link

When putting ERF into a section and using it to associate another section that has an Association Field in it. Then any attempt to access that section either through ERF or backend page causes this error.

Symphony Fatal Database Error: Unknown column 'd.entries' in 'where clause'

An error occurred while attempting to execute the following query

SELECT SQL_CACHE `e`.id, `e`.section_id, e.`author_id`, UNIX_TIMESTAMP(e.`creation_date`) AS `creation_date`, UNIX_TIMESTAMP(e.`modification_date`) AS `modification_date` FROM `ar6_entries` AS `e` INNER JOIN `ar6_entries_data_41` AS `d` ON `e`.id = `d`.`entry_id` WHERE 1 AND `e`.`section_id` = '10' AND (`d`.`entries` = '235' OR `d`.`entries` LIKE '235,%' OR `d`.`entries` LIKE '%,235' OR `d`.`entries` LIKE '%,235,%') ORDER BY ( SELECT `ed`.value FROM ar6_entries_data_12 AS `ed` WHERE entry_id = e.id ) ASC

Further I found that upon removing ERF the section is accessible but can no longer appear in the list of things to associate in the Association Field. Whatever links those tables together must be altered somehow I would guess.

Backup DB before trying the section stays broken.

@nitriques
Copy link
Member

Thanks ! I will see what I can do...

@nitriques nitriques added the bug label Nov 3, 2014
@nitriques nitriques self-assigned this Nov 3, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants