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

Saving Remote Data Sources #28

Closed
nilshoerrmann opened this issue Nov 26, 2014 · 5 comments
Closed

Saving Remote Data Sources #28

nilshoerrmann opened this issue Nov 26, 2014 · 5 comments

Comments

@nilshoerrmann
Copy link
Contributor

Double quotes " inside the Included Elements field are breaking the backend:

Symphony Fatal Database Error: Unknown column 'namespace' in 'field list'

Single quotes work. This is on Symphony 2.6.0-alpha.

@nilshoerrmann
Copy link
Contributor Author

It seems like the quotes are not the culprit. It happens on every second attempt to save (1, 3, 5 …).

@nilshoerrmann nilshoerrmann changed the title Included Elements and Quotes Saving Remote Data Sources Nov 26, 2014
@nilshoerrmann
Copy link
Contributor Author

Wild guess: might this be related to the autoload changes in the core?

@nilshoerrmann
Copy link
Contributor Author

This is the erroneous line:

MySQL Error (1054): Unknown column 'namespace' in 'field list' in query: INSERT INTO `sym_cache` (`hash`, `creation`, `expiry`, `data`, `namespace`) VALUES ('703945698188300f7dbbcfadbb121be7', '1416993837', '1416994137', 'eCodEDgaRbaGE', null)

@nilshoerrmann
Copy link
Contributor Author

Aha, the migration file for 2.6.0 contains this:

ALTER TABLE `tbl_cache` ADD `namespace` VARCHAR(255) COLLATE utf8_unicode_ci;

But the installer excludes that column.

@nilshoerrmann
Copy link
Contributor Author

Executing that command fixes the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant