Skip to content
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

C2 : A message without title will generate a notification but we will loose the content #5434

Open
NicoDucou opened this issue Apr 25, 2024 · 0 comments · May be fixed by #5465
Open

C2 : A message without title will generate a notification but we will loose the content #5434

NicoDucou opened this issue Apr 25, 2024 · 0 comments · May be fixed by #5465
Assignees
Milestone

Comments

@NicoDucou
Copy link
Member

When creating a new message, the title field is circled in red to see that it is required, but if we send the message without putting a title it gets back to the message list (inbox) and we have a red message indicating an error "Submit validation failed" but we loose the message we had written.
We should not be able to click the send button or at least it should do nothing if the title is not set

Same thing if there is no user to send the message to defined. Because for the moment it goes back to the inbox and show a red message indicating
"Handling "Chamilo\CoreBundle\Entity\Message" failed: Handling "Symfony\Component\Mailer\Messenger\SendEmailMessage" failed: An email must have a "To", "Cc", or "Bcc" header."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants