[
http://jira.magnolia-cms.com/browse/MAGNOLIA-3432?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rakesh Vidyadharan updated MAGNOLIA-3432:
-----------------------------------------
Comment: was deleted
(was: We are not specifying any modification date in the template. Here is the
code for one of the templates that fail on the public instance.
<?xml version="1.0" encoding="UTF-8" ?>
<books>
[#list model.books as book]
<book>
<title><![CDATA[${book.title}]]></title>
<author><![CDATA[[#list book.authors as author]${author.name}[#if
author_has_next]; [/#if][/#list]]]></author>
<info><![CDATA[${book.subTitle}]]></info>
<thumb width="94" height="135"><src><![CDATA[${book.jacket}]]></src></thumb>
<image width="112"
height="162"><src><![CDATA[${book.jacket}]]></src></image>
<morehref><![CDATA[${book.url}]]></morehref>
<description><![CDATA[${book.getTruncatedText( book.description, 200
)}]]></description>
</book>
[/#list]
</books>)
> cache: fails if the modification date is set multiple times
> -----------------------------------------------------------
>
> Key: MAGNOLIA-3432
> URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-3432
> Project: Magnolia
> Issue Type: Bug
> Affects Versions: 4.4
> Reporter: Philipp Bärfuss
> Assignee: Philipp Bärfuss
> Fix For: 4.4.1
>
>
> It seams that the cache has issues
> From the user list:
> {quote}
> I just finished updating (a brand new install with all our content actually)
> to 4.4, and noticed that quite a few of our data modules (templates that
> return XML or HTML snippets) stopped functioning on the public instance.
> There are no issues on 4.3.8 with the template code, so I am not sure what
> exactly we need to do (other than disabling the cache for these templates).
> Any reason why the behavior has changed in 4.4?{quote}
> {code}
> java.lang.IllegalStateException: Can't get Last-Modified header : no or
> multiple values : [1291223564589, Wed, 01 Dec 2010 16:36:09 GMT]
> at
> info.magnolia.module.cache.filter.CacheResponseWrapper.getLastModified(CacheResponseWrapper.java:184)
> at
> info.magnolia.module.cache.executor.Store.makeCachedEntry(Store.java:119)
> at
> info.magnolia.module.cache.executor.Store.processCacheRequest(Store.java:85)
> at
> info.magnolia.module.cache.executor.CompositeExecutor.processCacheRequest(CompositeExecutor.java:65)
> at
> info.magnolia.module.cache.filter.CacheFilter.doFilter(CacheFilter.java:122)
> at
> {code}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.magnolia-cms.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------