Skip to content

[BUGFIX] Fix method signature when using single table view#25

Open
moritz-ngo wants to merge 1 commit into
b13:mainfrom
kandoh-gmbh:main
Open

[BUGFIX] Fix method signature when using single table view#25
moritz-ngo wants to merge 1 commit into
b13:mainfrom
kandoh-gmbh:main

Conversation

@moritz-ngo

Copy link
Copy Markdown

This commit fixes the following error:

(1/1) TypeError
B13\PermissionSets\AvailablePermissionSets::backendGroupSelector(): Argument #2 ($parentObject) must be of type TYPO3\CMS\Backend\Form\FormDataProvider\TcaSelectItems, TYPO3\CMS\Core\DataHandling\ItemProcessingService given

Resolves #24

This commit fixes the following error:
```
(1/1) TypeError
B13\PermissionSets\AvailablePermissionSets::backendGroupSelector(): Argument b13#2 ($parentObject) must be of type TYPO3\CMS\Backend\Form\FormDataProvider\TcaSelectItems, TYPO3\CMS\Core\DataHandling\ItemProcessingService given
```

Resolves b13#24
@bmack

bmack commented Jan 13, 2026

Copy link
Copy Markdown
Member

I assume this only happens in TYPO3 v14?

@moritz-ngo

Copy link
Copy Markdown
Author

I'm running TYPO3 v13.4.22

@achimfritz

Copy link
Copy Markdown
Contributor

can confirm the bug. I would prefer to drop second constructor argument $parentObject completely

@achimfritz

Copy link
Copy Markdown
Contributor

Hi @moritz-ngo , would you apply my suggestion, so we would merge your PR

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

Successfully merging this pull request may close these issues.

TypeError / Invalid method signature when using single table view

3 participants