Cannot edit Alias

Issue #879 resolved
Stefan Heinrichsen created an issue

We recently updated for poste.io 2.3.0 FREE #1448 and currently notice and issue with editing aliases/redirects. We can open a redirect account but once we click on “Edit recipients” we only get a 500 Error in the Browser. I’ve search as good as I can for the reason of this issue and in /opt/admin/var/log/prod.log I finally found what I think cases the HTTP-500 error (below message shows up in the logfile directly after I clicked on the link):

2021-08-08 13:00:55] request.INFO: Matched route "redirect_edit". {"route":"redirect_edit","route_parameters":{"_route":"redirect_edit","_controller":"App\Base\Controller\RedirectController::editAction","id":"accounts@MY-DOMAIN.TLD"},"request_uri":"http://mail.MY-DOMAIN.TLD/admin/redirect/accounts@MY-DOMAIN.TLD/edit","method":"GET"} []
[2021-08-08 13:00:55] security.DEBUG: Read existing security token from the session. {"key":"_security_login","token_class":"Symfony\Component\Security\Guard\Token\PostAuthenticationGuardToken"} []
[2021-08-08 13:00:55] security.DEBUG: User was reloaded from a user provider. {"provider":"App\Base\Repository\BoxRepository","username":"webmaster@MY-DOMAIN.TLD"} []
[2021-08-08 13:00:55] security.DEBUG: Checking for guard authentication credentials. {"firewall_key":"login","authenticators":1} []
[2021-08-08 13:00:55] security.DEBUG: Checking support on guard authenticator. {"firewall_key":"login","authenticator":"App\Base\Security\DovecotAuthenticator"} []
[2021-08-08 13:00:55] security.DEBUG: Guard authenticator does not support the request. {"firewall_key":"login","authenticator":"App\Base\Security\DovecotAuthenticator"} []
[2021-08-08 13:00:55] request.CRITICAL: Uncaught PHP Exception Symfony\Component\Form\Exception\LogicException: "Cannot check if an unsubmitted form is valid. Call Form::isSubmitted() before Form::isValid()." at /opt/admin/vendor/symfony/form/Form.php line 756 {"exception":"[object] (Symfony\Component\Form\Exception\LogicException(code: 0): Cannot check if an unsubmitted form is valid. Call Form::isSubmitted() before Form::isValid(). at /opt/admin/vendor/symfony/form/Form.php:756)"} []
[2021-08-08 13:00:55] security.DEBUG: Stored the security token in the session. {"key":"_security_login"} []

I think this is a bug introduced on 2.3.0.

Any hints welcome.

Comments (1)

  1. Log in to comment