Skip Menu |

This queue is for tickets about the MojoX-Log-Log4perl CPAN distribution.

Report information
The Basics
Id: 130499
Status: resolved
Priority: 0/
Queue: MojoX-Log-Log4perl

People
Owner: Nobody in particular
Requestors: se456 [...] rohan.id.au
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Not compatible with Mojolicious 8.24
Date: Fri, 13 Sep 2019 09:07:38 +0800
To: bug-MojoX-Log-Log4perl [...] rt.cpan.org
From: se456 [...] rohan.id.au
Some changes to the logging system in Mojolicious causes MojoX::Log::Log4Perl to emit warnings every time a message is logged. e.g. Can't locate object method "context" via package "MojoX::Log::Log4perl" at /home/tdev/local/lib/perl5/Mojolicious/Plugin/DefaultHelpers.pm line 175. This is fixed by adding an empty:     sub context { } But then I get: Can't call method "error" on an undefined value at /home/tdev/local/lib/perl5/Mojolicious/Plugin/DefaultHelpers.pm line 100. The changes are discussed here: https://github.com/mojolicious/mojo/issues/1400
Hi! Thank you for the report and initial analysis. It should be fixed on version 0.12, available at your nearest CPAN mirror. Let me know if I missed anything :) Cheers! garu On Thu Sep 12 21:08:03 2019, se456@rohan.id.au wrote: Show quoted text
> Some changes to the logging system in Mojolicious causes > MojoX::Log::Log4Perl > to emit warnings every time a message is logged. > > e.g. > Can't locate object method "context" via package > "MojoX::Log::Log4perl" at > /home/tdev/local/lib/perl5/Mojolicious/Plugin/DefaultHelpers.pm line > 175. > > This is fixed by adding an empty: >     sub context { } > > But then I get: > > Can't call method "error" on an undefined value at > /home/tdev/local/lib/perl5/Mojolicious/Plugin/DefaultHelpers.pm line > 100. > > The changes are discussed here: > https://github.com/mojolicious/mojo/issues/1400
Subject: Re: [rt.cpan.org #130499] Not compatible with Mojolicious 8.24
Date: Wed, 9 Oct 2019 17:06:22 +0800
To: bug-MojoX-Log-Log4perl [...] rt.cpan.org
From: se456 [...] rohan.id.au
Tested with Mojolicious 8.25 and seems to work well. Thanks for the fix! Rohan Carly On 8/10/2019 2:17 am, Breno G. de Oliveira via RT wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=130499 > > > Hi! Thank you for the report and initial analysis. It should be fixed on version 0.12, available at your nearest CPAN mirror. > > Let me know if I missed anything :) > > Cheers! > > garu > > On Thu Sep 12 21:08:03 2019, se456@rohan.id.au wrote:
>> Some changes to the logging system in Mojolicious causes >> MojoX::Log::Log4Perl >> to emit warnings every time a message is logged. >> >> e.g. >> Can't locate object method "context" via package >> "MojoX::Log::Log4perl" at >> /home/tdev/local/lib/perl5/Mojolicious/Plugin/DefaultHelpers.pm line >> 175. >> >> This is fixed by adding an empty: >>     sub context { } >> >> But then I get: >> >> Can't call method "error" on an undefined value at >> /home/tdev/local/lib/perl5/Mojolicious/Plugin/DefaultHelpers.pm line >> 100. >> >> The changes are discussed here: >> https://github.com/mojolicious/mojo/issues/1400
> >