uvdesk / community-skeleton

UVdesk Opensource Community Helpdesk Project built for all to make a Full Ticketing Support System along with many more other features.
https://www.uvdesk.com
MIT License
8.72k stars 461 forks source link

Error after suppressing a SMTP account in BackOffice #739

Open PGK37 opened 5 months ago

PGK37 commented 5 months ago

Bug report

Error after removing SMTP

I had 2 SMTPs in my UVDESK settings, I deleted one of the 2 to clean up and following this modification I got the error "You have requested a non-existent service "swiftmailer.mailer".

Issue Description

  1. 2 SMTP Account
  2. Deletion of the first created
  3. The application ran for several seconds
  4. Then Error ! (screenshot bellow)

Environnement

  1. Version v1.1.3; Core Version v1.1.4
  2. Connected in Administration mode in French (public/fr)
  3. Server : PHP 8.0 / MysQL 8.0

66212b4203cde Capture d’écran 2024-04-18 à 16 11 24

PGK37 commented 5 months ago

-- UPDATE --

When the initial swiftmailer.yaml file is put back in the config directory the application works.

swiftmailer:
    url: '%env(MAILER_URL)%'
    spool: { type: 'memory' }

so there seems to be a dependency with this file. But why did it work initially and when you delete a Swiftmailer it crashes?