-
Notifications
You must be signed in to change notification settings - Fork 507
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
SQLSTATE[22P02]: Invalid text representation by saving "Hide from Assign list" #3315
Comments
What database are you using? |
I use a PostgreSQL 14 |
Does it happen for all users or just some of them? |
It seems to work if I want to hide a simple user. But I try to hide admins from the list. This results in the exception. |
We can't reproduce the issue. Can you attach a screenshot of how you select the user. |
Are you using any non-official modules? |
It seems to be a combination of simple user and adminstrator. If there is a simple user within, it works. I've prepared a video freesql.mp4 |
No, is a fresh installation and I evaluate this. |
Try to add the following code to the line 271 in /www/html/app/Http/Controllers/MailboxesController.php:
After that try to repeat the error, and send us lines starting with "[Permissions]" from Manage > Logs > App Logs ("laravel-... .log") |
I've a selected & saved user by "Selected Users have access to this mailbox:". Then it works to select administrators down below "Access Settings:Hide from Assign list" and save it. When this is saved and I deselect the user from "Selected Users have access to this mailbox:" and save it again, the exeption raises and afterwards no selection is there anywhere. everything is unselected |
The error seems to be related to PostgreSQL 14. We'll try to find a solution. |
Try to change line 272 in /www/html/app/Http/Controllers/MailboxesController.php to:
and try again. |
Yes! This fixes the behave! I can save now. Thanks for the very quick help! |
…ox permissions - closes freescout-help-desk#3315
When saving "Hide from Assign list" in the Permission Settings, I get the following :
The text was updated successfully, but these errors were encountered: