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

Prevent exception on maillcollector connection #7698

Conversation

cedric-anne
Copy link
Member

Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets -

Calling Mailcollector::connect() can throw many exception types (due to a problem connection problem, or due to an invalid encryption key). As GLPI does not handle correctly exception (i.e. it results in a blank page), we should catch all of them an display/log an error message.

@cedric-anne cedric-anne requested review from trasher and orthagh July 16, 2020 08:46
@cedric-anne cedric-anne self-assigned this Jul 16, 2020
@trasher trasher added this to the 9.5.1 milestone Jul 16, 2020
@trasher trasher added the bug label Jul 16, 2020
@trasher trasher merged commit 386e176 into glpi-project:9.5/bugfixes Jul 16, 2020
@cedric-anne cedric-anne deleted the 9.5/prevent-exception-on-collector-connect branch July 16, 2020 09:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants