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

use options_callback for image sizes #24

Merged
merged 2 commits into from Feb 19, 2018
Merged

Conversation

fritzmg
Copy link
Contributor

@fritzmg fritzmg commented Feb 18, 2018

Options that are retrieved from the database (including System::getImageSizes()) should always be retrieved with an options_callback, otherwise you might get the following error in the Install Tool, if not all tables are set up yet:

SQLSTATE[42S02]: Base table or view not found: 1146 Table 'xxx.tl_image_size' doesn't exist

@qzminski
Copy link
Member

Good catch but I think the return statement is missing there?

@qzminski qzminski added the bug label Feb 19, 2018
@fritzmg
Copy link
Contributor Author

fritzmg commented Feb 19, 2018

Haha, yeah... during testing I didn't actually check if the select was filled :)

@qzminski qzminski changed the base branch from master to hotfix/3.5.4 February 19, 2018 12:31
@qzminski qzminski merged commit 48c8449 into codefog:hotfix/3.5.4 Feb 19, 2018
@qzminski
Copy link
Member

Thanks, I have just released 3.5.4!

@fritzmg fritzmg deleted the patch-4 branch February 19, 2018 12:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants