cziegeler 2003/08/01 03:52:20
Modified: . status.xml
src/java/org/apache/cocoon/transformation/pagination
Pagesheet.java
Log:
Paginator caches dynamic pagesheet rules. Patch from Frank Taffelt.
PR:21213
Revision Changes Path
1.102 +5 -1 cocoon-2.1/status.xml
Index: status.xml
===================================================================
RCS file: /home/cvs/cocoon-2.1/status.xml,v
retrieving revision 1.101
retrieving revision 1.102
diff -u -r1.101 -r1.102
--- status.xml 1 Aug 2003 10:28:38 -0000 1.101
+++ status.xml 1 Aug 2003 10:52:20 -0000 1.102
@@ -167,6 +167,10 @@
<changes>
<release version="@version@" date="@date@">
+ <action dev="CZ" type="fix" fixes-bug="21213" due-to="Frank Taffelt"
+ due-to-email="[EMAIL PROTECTED]">
+ Paginator now caches dynamic pagesheet correctly.
+ </action>
<action dev="CZ" type="add">
Configuration logkit.xconf can now be read from any location.
</action>
1.2 +2 -2
cocoon-2.1/src/java/org/apache/cocoon/transformation/pagination/Pagesheet.java
Index: Pagesheet.java
===================================================================
RCS file:
/home/cvs/cocoon-2.1/src/java/org/apache/cocoon/transformation/pagination/Pagesheet.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- Pagesheet.java 27 Jun 2003 20:10:42 -0000 1.1
+++ Pagesheet.java 1 Aug 2003 10:52:20 -0000 1.2
@@ -496,7 +496,7 @@
}
public boolean modifiedSince(long date) {
- return (date!=this.lastModified);
+ return (this.lastModified == 0 || date!=this.lastModified);
}
public Object clone() {