Turning *OFF* POP3 polling requires a valid username/password for the POP3 service

AI-generated summary

hanserik is experiencing an issue with Turning OFF POP3 polling on Discourse version 3.5.0.beta2-dev. The problem occurs when trying to disable POP3 polling without providing a valid username and password for the POP3 service, resulting in an error message and the setting not being saved. To reproduce the issue, hanserik outlines a 5-step process, starting with setting up a POP3 account and ending with attempting to turn off POP3 polling in Discourse. The expected result is for the setting to be saved and POP3 polling to stop, but instead, an error message is displayed.

Severity: Minor annoyance.

Platform: Any

Description:
I have had POP3 polling from outlook.com, but that does not seem to work anymore without Oauth. It fails with unknown username and password. We don’t need POP3 polling anymore, so I want to turn if off. When I turn off the setting and saves, I get an error:

Actual result: Error message as in the image, the setting was not saved.

Expected result: The setting to be saved and POP3 polling to stop.

Reproduce:

  1. Set up an POP3 account using a username and password
  2. Configure Discourse to use this account
  3. Verify that polling works.
  4. Change the password for the POP3 account on the service (don’t change it in Discourse, I assume it will be tested before being allowed to be saved)
  5. Turn off POP3 polling in Discourse.

I am on Discourse version 3.5.0.beta2-dev (44aa0eda27)

5 Likes