bugSamizdat - Bugs: bug #24091, dataset_cache_bug-0.1 [vs 080811...

 
 

bug #24091: dataset_cache_bug-0.1 [vs 080811 or 080703-2]: RdfDataSet fails to use optional parameter hash in cache key

Submitted by:  Boud Roukema <boud>
Submitted on:  Mon 18 Aug 2008 12:13:01 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Status: FixedPrivacy: Public
Assigned to: NoneOpen/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed 22 Oct 2008 04:52:32 PM UTC, comment #1:

The fix committed to CVS, thanks!

Dmitry Borodaenko <angdraug>
Project Administrator
Mon 18 Aug 2008 12:13:01 AM UTC, original submission:

DESCRIPTION: RdfDataSet in engine/dataset.rb fails to use the optional parameter hash params for making the @cache_key sufficiently unique. This causes different dataset objects with the same query but different params to have identical values of @cache_key. The result is that the cache is not renewed even though it should be.

SEVERITY: This should not cause errors in presently existing snapshots or debian experimental versions of samizdat. However, for people using this functionality in writing patches or new features now or in the future, this is a bug waiting to cause failures to renew the cache in those patches/features. This is relevant for an upcoming updated monolanguage patch: https://savannah.nongnu.org/patch/?6167

SAMIZDAT VERSIONS: The bug is present in both 20080703-2 and 20080811-1.

FIX: One line fix attached as a patch file and also here on the nongnu.org page:

Boud Roukema <boud>
Project Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files

 

Depends on the following items: None found

Digest:
   patch dependencies.

 

Carbon-Copy List
  • -unavailable- added by angdraug (Posted a comment)
  • -unavailable- added by boud (Submitted the item)
  •  

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 22 Oct 2008 04:52:32 PM UTCangdraugStatusWorks For Me=>Fixed
      Open/ClosedOpen=>Closed
    Mon 18 Aug 2008 12:13:01 AM UTCboudAttached File-=>Added 080818_dataset_cache_bug.patch, #16306

    Back to the top


    Powered by Savane 3.1-cleanup1