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

BUG: v:render.request causes error 'Cannot instantiate interface ConfigurationManagerInterface' #1881

Open
Hawkeye1909 opened this issue Sep 28, 2023 · 0 comments

Comments

@Hawkeye1909
Copy link

I have checked that the bug exists in the dev-development branch
Code of RequestViewHelper.php is the same in development branch as in v7.0.0.

I have checked that there are no already open issues or recently closed issues about this bug
Yes

Describe the bug
We're using v:render.request to e.g. include a tt_address contact in a partial of EXT:form or show the single view of EXT:tt_address if the uis is set in the url. After the update to v7.0.0 the following error occurs: Cannot instantiate interface TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface. It's caused by this line.

To Reproduce
Steps to reproduce the behavior:

  1. Install EXT:tt_address and add an address.
  2. Add <v:render.request vendorName="FriendsOfTYPO3" extensionName="TtAddress" pluginName="ListView" controller="Address" action="show" arguments="{address : 1}" /> to your page template (1 is the uid of your address item).
  3. See error

Expected behavior
EXT:tt_address should be called and the address object should be shown.

Additional context
TYPO3 version 10.4.37, works with EXT:vhs v6.1.3.
Already tried to fix it by changing the code of line 158 to $configurationManager = GeneralUtility::makeInstance(\TYPO3\CMS\Extbase\Object\ObjectManager::class)->get(ConfigurationManagerInterface::class);. Then the error disapears but then the response in line 118 is NULL...

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