base: make Entity_sendEmail raise early for missing email addresses
on python2, this sends an email with address like "Name <None>", on python3 this fails with an error like this: Module script, line 15, in Entity_sendEmail - <PythonScript at /portal_2664097758140587659/Entity_sendEmail used for /portal_2664097758140587659/person_module/20241227-13AB7> - Line 15 from_url = formataddr((sender.hasTitle() and sender.getTitle(), sender.getDefaultEmailText())) Module email.utils, line 92, in formataddr address.encode('ascii') better to fail early in such a case
Status | Job ID | Name | Coverage | ||||||
---|---|---|---|---|---|---|---|---|---|
External | |||||||||
failed |
#740327
external
|
ERP5.CodingStyleTest-Master |
01:16:37
|
||||||
failed |
#740322
external
|
ERP5.PerformanceTest-Master |
00:43:00
|
||||||
failed |
#740323
external
|
ERP5.UnitTest-Master |
03:48:17
|
||||||
passed |
#740292
external
|
SlapOS.Eggs.UnitTest-Master.Python2 |
00:16:42
|
||||||
passed |
#740305
external
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:15:58
|
||||||
passed |
#740320
external
|
Wendelin.UnitTest-Master |
00:39:20
|
||||||