Skip to content

Bug in slug generation: rector migration issue? #43

@klodeckl

Description

@klodeckl

The automatic slug generation fails with error 500:
Too few arguments to function
In2code\In2studyfinder\Slug\UrlSegmentPostModifier::_construct0, 0 passed in /var/www/vendor/typo3/cms-core/Classes/Utility/GeneralUtility.php on line 2877 and exactly 1 expected

I checked the code of UrlSegmentPostModifier.php, it seems it is modernized with rector? I also had this issue: Rector tries to remove GeneralUtility::makeInstance and instead adds constructor DI. I reverted it (remove constructor and do it with GeneralUtility::makeInstance again.

TYPO3 13.4.28
in2studyfinder 13.1.1
Diff patch is atttached.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions