KamoCRM

The NoReply recorder names the constructor Spring should use

FixEmailService
Shipped
12 செப்டம்பர், 2026 அன்று 12:06 AM UTC
Author
Kamo
Commit
30003d7

It has two, the second for tests, and with neither marked Spring picks neither: the context failed with "No default constructor found" and took EmailSmtpService, and so the whole service, down with it. The unit tests called the constructors directly and could not see it. NoReplyOutboundWiringTest now lets Spring build the recorder, the SMTP service and the controller from their real constructors. It fails with exactly that error when the annotation is removed.

All changes

Like what you see shipping?

All of it arrives in your workspace on its own. Start on the free plan and read this page again in a month.

Start Free ForeverView Pricing