Skip Menu |

This queue is for tickets about the CHI CPAN distribution.

Report information
The Basics
Id: 70898
Status: resolved
Priority: 0/
Queue: CHI

People
Owner: Nobody in particular
Requestors: stevan.little [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in:
  • 0.48
  • 0.49
Fixed in: (no value)



Subject: Namespace Cache clearing no longer working
Jon, I encountered a situation where my staging server, which was running 0.47 was successfully programmatically clearing cache for a specific namespace, but my production server, which was running 0.49, was not. I was using the DBI driver and both servers were running the 1.24 version of it, I am not sure if it affects other drivers I diffed the two versions on CPAN and the only real change to the code I saw found in this commit. https://github.com/jonswar/perl- chi/commit/39b3feb0999928f6e751d2d4dcda66f395c24faf Not knowing the guts of CHI too well I could not tell exactly what is going on and exactly what may have changed here so I thought I would send it over to you. If this basically doesn't make you go "AH HA!" and immediately know how this can be fixed, let me know and I will be happy to write up a failing test and maybe do some code-diving myself. But I figured this might be a super-easy fix for you so I would try this first. Thanks Much, - Stevan
That's disturbing. Looking at the code did not generate an "A-HA". When you say "programmatically clearing cache", do you mean calling $cache->clear()? Or something else? Are all tests are passing for CHI::Driver::DBI on your system?
Subject: Re: [rt.cpan.org #70898] Namespace Cache clearing no longer working
Date: Mon, 12 Sep 2011 20:31:41 -0400
To: bug-CHI [...] rt.cpan.org
From: Stevan Little <stevan.little [...] iinteractive.com>
Jonathan, Yes, that is how I am calling it. I will try and whip up a failing test for this. Thanks for taking a look. - Stevan On Sep 12, 2011, at 6:44 PM, Jonathan Swartz via RT wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=70898 > > > That's disturbing. Looking at the code did not generate an "A-HA". > > When you say "programmatically clearing cache", do you mean calling > $cache->clear()? Or something else? > > Are all tests are passing for CHI::Driver::DBI on your system? >
Subject: Re: [rt.cpan.org #70898] Namespace Cache clearing no longer working
Date: Mon, 12 Sep 2011 21:49:48 -0700
To: bug-CHI [...] rt.cpan.org
From: Jonathan Swartz <swartz [...] pobox.com>
Ok. There is a test_clear in CHI/t/Driver.pm, you might see if that passes. On Sep 12, 2011, at 5:31 PM, Stevan Little via RT wrote: Show quoted text
> Queue: CHI > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=70898 > > > Jonathan, > > Yes, that is how I am calling it. I will try and whip up a failing test for this. > > Thanks for taking a look. > > - Stevan > > On Sep 12, 2011, at 6:44 PM, Jonathan Swartz via RT wrote: >
>> <URL: https://rt.cpan.org/Ticket/Display.html?id=70898 > >> >> That's disturbing. Looking at the code did not generate an "A-HA". >> >> When you say "programmatically clearing cache", do you mean calling >> $cache->clear()? Or something else? >> >> Are all tests are passing for CHI::Driver::DBI on your system? >>
> >
Any luck generating a reproducible test for this?
Subject: Re: [rt.cpan.org #70898] Namespace Cache clearing no longer working
Date: Wed, 30 Nov 2011 12:07:01 -0500
To: bug-CHI [...] rt.cpan.org
From: Stevan Little <stevan.little [...] iinteractive.com>
No sorry, I have not gotten time to loop back around on this. On Nov 30, 2011, at 11:50 AM, Jonathan Swartz via RT wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=70898 > > > Any luck generating a reproducible test for this?
Subject: Re: [rt.cpan.org #70898] Namespace Cache clearing no longer working
Date: Wed, 30 Nov 2011 09:11:33 -0800
To: bug-CHI [...] rt.cpan.org
From: Jonathan Swartz <swartz [...] pobox.com>
No problem, just going through my queue... :) On Nov 30, 2011, at 9:07 AM, Stevan Little via RT wrote: Show quoted text
> Queue: CHI > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=70898 > > > No sorry, I have not gotten time to loop back around on this. > > > On Nov 30, 2011, at 11:50 AM, Jonathan Swartz via RT wrote: >
>> <URL: https://rt.cpan.org/Ticket/Display.html?id=70898 > >> >> Any luck generating a reproducible test for this?
> >
Resolving this, feel free to reopen if it happens again...