Closed (fixed)
Project:
SMTP Authentication Support
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
23 Mar 2019 at 17:39 UTC
Updated:
22 May 2020 at 19:14 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
rudranil29 commentedComment #3
rudranil29 commentedComment #5
Waldoswndrwrld commentedCreated #3054630: replace \Egulias\EmailValidator\EmailValidator with \Drupal\Component\Utility\EmailValidator which fixes the failing tests.
Comment #6
rudranil29 commented@Waldoswndrwrld Thanks
Comment #7
rudranil29 commentedComment #9
jigish.addweb commented@ChaseOnTheWeb, Kindly review the attached patch & let me know your views for the same.
Thanks!..
Comment #11
rudranil29 commentedComment #12
john cook commentedThe
strtolower()errors have already been fixed as part of #3041687: Deprecated Unicode::* methods need to be replaced., so the the current patches are now obsolete.But there are now more errors reported by drupal-check:
I've updated the summary, hidden the existing patches, and set the status back to needs work.
Comment #13
ankush_03Adding patch please review !
Comment #14
diego_mow commentedLooks Good
Comment #15
swatichouhan012 commented@Diego_Mow Sorry to move this again in NW, i found one more deprecated code ,
------ -------------------------------------------------------------------------------------------------------------------
Line src/Plugin/Mail/SMTPMailSystem.php
------ -------------------------------------------------------------------------------------------------------------------
488 Call to deprecated constant FILE_EXISTS_REPLACE: Deprecated in drupal:8.7.0 and is removed from drupal:9.0.0. Use
\Drupal\Core\File\FileSystemInterface::EXISTS_REPLACE.
i have created a patch to fix this kindly review,
Comment #16
diego_mow commentedGood catch swatichouhan012.
I checked the patch and continue to look ok for me.
Comment #17
diego_mow commentedComment #18
rivimeyComment #19
rivimeyComment #20
wundo commentedPatch needs re-roll
Comment #21
diego_mow commentedGenerated new patch considering code from patches #13 and #15 and also some new CR items to guarantee everything.
Comment #23
rivimey@Diego
In changing smtp_install() wouldn't it be better to cache the return value of \Drupal::messenger() and call addMessage from that?
If you're going to change Smtp_send_queue queuer please lets have a meaningful docblock, especially which indicates why the function exists. For example: "Add the outgoing mail to the SMTP Mail Queue."
Ditto for _smtp_mailer_send()
Question, not bug: for D9 compatibility, should file_save_data be rendered using a Drupal service instead?
Comment #24
rivimeyFixed the cause of the test error: the tester had been changed to expect smtpConnect() but the string is still SmtpConnect() and that is correct.
Also fixed the point about smtp_install() I mentioned above.
Also fixed the text of that message, which was still stuck in D7 menu terminology.
Comment #25
diego_mow commentedTested and worked fine here.
Comment #26
berdirThe .info.yml file is missing the new core_version_key, see https://www.drupal.org/node/3070687.
Comment #27
suresh prabhu parkala commentedAdded the core version key in the info.yml file. Here is the updated patch.
Comment #28
berdirI think this constant requires 8.7, so we should use ^8.7.7 || ^9 and remove the core: 8.x key.
Comment #29
suresh prabhu parkala commentedUpdated patch please review!
Comment #30
rivimeyComment #32
japerry