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

Classname contains invalid characters or has invalid format: Sys25\RnBase\Fluid\View\Action #296

Closed
nwm-dev opened this issue Aug 8, 2022 · 1 comment
Assignees

Comments

@nwm-dev
Copy link

nwm-dev commented Aug 8, 2022

Bear with me as I haven't worked with this extension so far. I upgraded a typo3 instance from v9 to v10 and one view depending on this extension threw the above error. After some digging and testing it turned out changing the use in EXT:rn_base/Legacy/Controller/AbstractController.php

from use Sys25\RnBase\Fluid\View\Action

to use Sys25\RnBase\ExtBaseFluid\View\Action

fixed the error. To me it seems like an oversight while moving the Class to a new namespace. If someone could verify this who is more familiar with the extension I can create a PR if necessary.

@dzschille
Copy link

I got a similar Message (found with MK Logger):
"Classname contains invalid characters or has invalid format: Sys25\\RnBase\\Fluid\\View\\Action".

This came from my TS Config of mksearch which i added as here suggested:
viewClassName = Sys25\RnBase\Fluid\View\Action

I changed that to viewClassName = Sys25\RnBase\ExtBaseFluid\View\Action. This solved the error message.

Later i also had to change in some templates {namespace rn=Sys25\RnBase\Fluid\ViewHelper} to {namespace rn=Sys25\RnBase\ExtBaseFluid\ViewHelper}.

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

No branches or pull requests

4 participants