Bug 106153 - Incorrect calculation of cache expiry times
Summary: Incorrect calculation of cache expiry times
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Enterprise CMS
Classification: Retired
Component: other
Version: 6.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: ccm-bugs-list
QA Contact: Jon Orris
URL:
Whiteboard:
Depends On:
Blocks: 100952
TreeView+ depends on / blocked
 
Reported: 2003-10-03 11:31 UTC by Daniel Berrangé
Modified: 2007-04-18 16:58 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2003-12-10 16:39:35 UTC
Embargoed:


Attachments (Terms of Use)

Description Daniel Berrangé 2003-10-03 11:31:13 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 Galeon/1.2.6 (X11; Linux i686; U;) Gecko/20020829

Description of problem:
The original code for calculating content item cache expiry time basically just
used the lifecycle expiry date. So if an item is scheduled to be live for 6
months, then the expiry is set to 6 months. This caused great pain for authors
when they needed to edit & republish an item. Thus ItemDispatcher was changed to do:

              minimum(default expiry, lifecycle expiry).

Unfortunately, ContentSectionServlet has reverted to using the original method
of calculating expiry times.

This is fixed in test-packaging in p4 36693, but needs to be ported to Troika.


Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. Publish an item, with a lifecycle ending in 6 months
2. Request the item
3. look at the expiry time.
    

Additional info:

Comment 1 Archit Shah 2003-10-31 22:19:03 UTC
fixed at 37573


Note You need to log in before you can comment on or make changes to this bug.