[Bug 1855962] New: bugzilla can't send non-html email
https://bugzilla.redhat.com/show_bug.cgi?id=1855962 Bug ID: 1855962 Summary: bugzilla can't send non-html email Product: Fedora Version: 32 Status: NEW Component: bugzilla Assignee: ita...@ispbrasil.com.br Reporter: sjo...@acm.org QA Contact: extras...@fedoraproject.org CC: emman...@seyman.fr, ita...@ispbrasil.com.br, perl-devel@lists.fedoraproject.org Target Milestone: --- Classification: Fedora Created attachment 1700684 --> https://bugzilla.redhat.com/attachment.cgi?id=1700684&action=edit the patch Description of problem: Since the update to packages perl-Email-MIME-1.949-1.fc31.noarch and perl-Email-MIME-ContentType-1.024-1.fc31.noarch on Fedora 31, bugzilla can't send non-html (simple text/plain) emails anymore. The reason seems to be a tighter control of how the method content_type_set() is to be used. When sending non-html email, bugzilla uses a call $email->content_type_set($parts[0]->content_type); (BugMail.pm, line 499) where the given content_type contains the string 'text/plain; charset=UTF-8'. The content_type_set method splits on the / and wants the second part to be a correct MIME subtype. But clearly it isn't since it also contains a charset attribute. The solution (what works for me) is to replace this call with two calls: $email->content_type_set('text/plain'); $email->charset_set($use_utf8 ? 'UTF-8' : 'iso-8859-1'); Note that the code being executed is only used in case there is a single part to be sent (i.e. not html which uses the other branch for multipart messages), and so is definitely text/plain. This problem occurs both in Fedora 31 and 32. Version-Release number of selected component (if applicable): bugzilla-5.0.6-3.fc31.noarch perl-Email-MIME-1.949-1.fc31.noarch perl-Email-MIME-ContentType-1.024-1.fc31.noarch How reproducible: 100% Steps to Reproduce: 1.configure bugzilla to send plain text emails (Administration -> Default Parameters). 2.trigger bugzilla to send an email by e.g. adding or changing a bug. 3. Actual results: A page saying: Invalid Content-Type 'subtype' parameter at Bugzilla/BugMail.pm line 499. and no email being sent. (during experimentation I added code to the report function to tell me the content of this invalid subtype; it turned out to be 'plain; charset=UTF-8') Expected results: email being sent. Additional info: -- You are receiving this mail because: You are on the CC list for the bug. ___ perl-devel mailing list -- perl-devel@lists.fedoraproject.org To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/perl-devel@lists.fedoraproject.org
[Bug 1855963] New: bug in perl prevents bugzilla checksetup.pl script from working
https://bugzilla.redhat.com/show_bug.cgi?id=1855963 Bug ID: 1855963 Summary: bug in perl prevents bugzilla checksetup.pl script from working Product: Fedora Version: 31 Status: NEW Component: perl Assignee: jples...@redhat.com Reporter: sjo...@acm.org QA Contact: extras...@fedoraproject.org CC: caillon+fedoraproj...@gmail.com, iarn...@gmail.com, jples...@redhat.com, ka...@ucw.cz, mmasl...@redhat.com, perl-devel@lists.fedoraproject.org, ppi...@redhat.com, psab...@redhat.com, rhug...@redhat.com, sandm...@redhat.com, spo...@gmail.com Target Milestone: --- Link ID: Github Perl/perl5/issues/17271,Mozilla Foundation 1588175 Classification: Fedora Description of problem: See bugs https://bugzilla.mozilla.org/show_bug.cgi?id=1588175 for a description of the bugzilla side of things, and see https://github.com/Perl/perl5/issues/17271 for the perl side of things. The problem is, when running checksetup.pl, perl at some point complains about Undefined subroutine utf8::SWASHNEW. It seems that perl needs to pre-load this function in Safe.pm, but the way it attempts to do so is outdated. Version-Release number of selected component (if applicable): perl-interpreter-5.30.3-452.fc31.x86_64 perl-interpreter-5.30.3-453.fc32.x86_64 Since the perl bug report says the bug has been fixes, I assume there is a newer version available. Otherwise the simple patch described in the perl bug report should be applied. How reproducible: Steps to Reproduce: 1. install and configure a minimal bugzilla (in a VM) 2. cd /usr/share/Bugzilla 3. ./checksetup.pl Actual results: Error message about Undefined subroutine utf8::SWASHNEW Expected results: No such error. Additional info: -- You are receiving this mail because: You are on the CC list for the bug. ___ perl-devel mailing list -- perl-devel@lists.fedoraproject.org To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/perl-devel@lists.fedoraproject.org
[Bug 1852414] perl-Email-MIME-ContentType 1.024.1 appears to break bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1852414 --- Comment #2 from Paul Howarth --- Looks like Bug #1855962, which would be a bugzilla bug rather than one in perl-Email-MIME-ContentType. -- You are receiving this mail because: You are on the CC list for the bug. ___ perl-devel mailing list -- perl-devel@lists.fedoraproject.org To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/perl-devel@lists.fedoraproject.org
[Bug 1852437] perl-Perl-Critic-1.138-4.fc33 FTBFS with Perl 5.32: subroutine name is a homonym for builtin function isa at line 140
https://bugzilla.redhat.com/show_bug.cgi?id=1852437 Paul Howarth changed: What|Removed |Added Status|NEW |CLOSED Fixed In Version||perl-Perl-Critic-1.138-5.fc ||33 Resolution|--- |RAWHIDE Last Closed||2020-07-11 17:54:10 --- Comment #2 from Paul Howarth --- I worked around this using a "## nocritic" pragma, but the long-term fix might be to include making "isa" a special case like "import", "AUTOLOAD", and "DESTROY" already are, as they are commonly overridden. That's one for upstream to decide though. -- You are receiving this mail because: You are on the CC list for the bug. ___ perl-devel mailing list -- perl-devel@lists.fedoraproject.org To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/perl-devel@lists.fedoraproject.org
[Bug 1850773] Add perl-Net-Domain-TLD to EPEL8 / co-maintainter request
https://bugzilla.redhat.com/show_bug.cgi?id=1850773 Fedora Update System changed: What|Removed |Added Status|ON_QA |CLOSED Fixed In Version||perl-Net-Domain-TLD-1.75-12 ||.el8 Resolution|--- |ERRATA Last Closed||2020-07-12 00:51:33 --- Comment #3 from Fedora Update System --- FEDORA-EPEL-2020-0ae265d2d6 has been pushed to the Fedora EPEL 8 stable repository. If problem still persists, please make note of it in this bug report. -- You are receiving this mail because: You are on the CC list for the bug. ___ perl-devel mailing list -- perl-devel@lists.fedoraproject.org To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/perl-devel@lists.fedoraproject.org
[Bug 1850793] Add perl-Time-Duration-Parse to EPEL8 / co-maintainer request
https://bugzilla.redhat.com/show_bug.cgi?id=1850793 Bug 1850793 depends on bug 1850910, which changed state. Bug 1850910 Summary: Add perl-Exporter-Lite to EPEL8 https://bugzilla.redhat.com/show_bug.cgi?id=1850910 What|Removed |Added Status|ON_QA |CLOSED Resolution|--- |ERRATA -- You are receiving this mail because: You are on the CC list for the bug. ___ perl-devel mailing list -- perl-devel@lists.fedoraproject.org To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/perl-devel@lists.fedoraproject.org
[Bug 1850910] Add perl-Exporter-Lite to EPEL8
https://bugzilla.redhat.com/show_bug.cgi?id=1850910 Fedora Update System changed: What|Removed |Added Status|ON_QA |CLOSED Fixed In Version||perl-Exporter-Lite-0.08-14. ||el8 Resolution|--- |ERRATA Last Closed||2020-07-12 00:51:34 --- Comment #3 from Fedora Update System --- FEDORA-EPEL-2020-5483ddb660 has been pushed to the Fedora EPEL 8 stable repository. If problem still persists, please make note of it in this bug report. -- You are receiving this mail because: You are on the CC list for the bug. ___ perl-devel mailing list -- perl-devel@lists.fedoraproject.org To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/perl-devel@lists.fedoraproject.org