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

UnexpectedValueException if settings.displayDuplicateImages true - Version 3.1.1 and Typo3 10 #44

Closed
fennecgit opened this issue Feb 24, 2023 · 2 comments

Comments

@fennecgit
Copy link

Hello,
thanks for your work!

I'm writing because I get the following error when enabling option settings.displayDuplicateImages in plugin:

Oops, an error occurred! Code: 202302241032412ded9308 - {"exception":"UnexpectedValueException: ConnectionPool->getQueryBuilderForTable() requires a connection name to be provided. in xxxx\typo3\sysext\core\Classes\Database\ConnectionPool.php:235\nStack trace:\n#0 xxxx\typo3conf\ext\tgm_copyright\Classes\Domain\Repository\CopyrightReferenceRepository.php(138): TYPO3\CMS\Core\Database\ConnectionPool->getQueryBuilderForTable('')\n#1.

Thank you in advance for addressing the issue.

@Schweriner
Copy link
Owner

Hello and thanks for your report. This bug was fixed in 3.2 but it was not testet with TYPO3 10... guess it would work there as well but anyway I will prepare a backport for this bug asap. Anyway it seems like you have sys_file_reference records in your table which don't have a value within the tablenames column which is invalid in my opinion. Please check your DB for records in the table to figure out where those records are coming from... maybe an Inline / Image Field in your system is not configured correctly inside the TCA?

@Schweriner
Copy link
Owner

I backported the fix in the latest version also for v10 anyway you should check your db

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

2 participants