Skip to content

Sending a form on a access restricted page leads to an exception #1231

@mschwemer

Description

@mschwemer

Scenario: There is a powermail content element on a access restricted page. When opening this page via backend preview and sending this form, an exception occurs:

In2code\Powermail\Domain\Repository\UserRepository::findByUid(): Return value must be of type In2code\Powermail\Domain\Model\User, null returned

This should be fixed.

However, when logging as a regular frontend user, the form works fine.

TYPO3: v12
Powermail: 12.4.1
php: 8.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions