Re: Caching pipelines broken in trunk?

2005-08-28 Thread Reinhard Poetz

Carsten Ziegeler wrote:

Reinhard Poetz wrote:

I've just upgraded an application to the latest version of trunk and the caching 
pipes have stopped to work. AFAICS, getValidity() is never called.


Any ideas?



I just checked the caching in trunk for the welcome page and that works
as expected. The getValidity() method of a pipeline component is only
called if the validity object can't check its validity by itself. Each
validity object has two methods: isValid() and isValid(new validity).
If the first one returns valid then the second one is never called and
therefore the getValidity() method is not called. This reduces
unnecessary actions of the pipeline component.

For example the file generator and the xslt transformer use file
validity objects that are able to detect if the file has changed without
the need to create a new validity object.

If you set the logging to debug, you should see debug methods about
usage of the cache.


Thanks Carsten!
As soon as I have time I will upgrade Cocoon and look at it again.

--
Reinhard Pötz   Independent Consultant, Trainer & (IT)-Coach 


{Software Engineering, Open Source, Web Applications, Apache Cocoon}

   web(log): http://www.poetz.cc




Bug report for Cocoon 2 [2005/08/28]

2005-08-28 Thread bugzilla
+---+
| Bugzilla Bug ID   |
| +-+
| | Status: UNC=Unconfirmed NEW=New ASS=Assigned|
| | OPN=ReopenedVER=Verified(Skipped Closed/Resolved)   |
| |   +-+
| |   | Severity: BLK=Blocker CRI=CriticalMAJ=Major |
| |   |   MIN=Minor   NOR=Normal  ENH=Enhancement   |
| |   |   +-+
| |   |   | Date Posted |
| |   |   |  +--+
| |   |   |  | Description  |
| |   |   |  |  |
| 5978|Ass|Nor|2002-01-23|Java SecurityManager java.lang.RuntimePermission c|
| 6200|New|Maj|2002-02-03|Parser failure with validate=true when processing |
| 9916|New|Enh|2002-06-17|Support passing of object parameters into sitemap |
|10203|Opn|Enh|2002-06-25|Docs referenced by XSLT's document() are not inclu|
|10827|New|Enh|2002-07-15|ESQL  doesn't support namespaces|
|15302|Ass|Nor|2002-12-12|XSPUtil.relativeFilename() returns differents resu|
|15316|New|Nor|2002-12-12|FOP does not resolve relative paths   |
|16537|New|Nor|2003-01-29|[PATCH] fixed redirect under JRun 3.1 |
|17594|New|Nor|2003-03-03|WebSphere redirect bug|
|17771|New|Enh|2003-03-07|[PATCH] new logging category never set when using |
|19138|New|Enh|2003-04-18|[PATCH] Made SQLTransformer paginatable   |
|19641|New|Nor|2003-05-05|[PATCH] HSSFSerializer Support for FreezePane |
|20508|New|Nor|2003-06-05|[PATCH] Namespace cleanup in HTMLSerializer   |
|20631|New|Enh|2003-06-10|[PATCH] Support for transactions in SQLTransformer|
|21177|Inf|Nor|2003-06-30|a crash in the name() function of the xslt, when u|
|22732|Opn|Nor|2003-08-26|Cocoon Servlet can't be included  |
|23002|Ass|Nor|2003-09-08|[PATCH]: HSSF Serializer does not process  are sometim|
|23901|New|Nor|2003-10-17|[PATCH] adding  and moving load() and|
|23939|Inf|Nor|2003-10-20|document('relative-URI') seems to resolve wrongly |
|24135|Ass|Min|2003-10-26|carselector sample: reloading page puts old values|
|24389|New|Enh|2003-11-04|[PATCH] New ResourceLoadAction|
|24391|New|Nor|2003-11-04|[PATCH] wsinclude and htmlinclude transformers|
|24402|New|Enh|2003-11-04|[PATCH] XML posting from SourceWritingTransformer |
|24457|Inf|Nor|2003-11-06|Xalan/XSLT using UTF-8: Incorrect SAXException: At|
|24498|New|Enh|2003-11-07|Need to be able to use "cinclude" or "xinclude" to|
|24529|New|Enh|2003-11-08|[PATCH] file upload component for usage with flows|
|24741|New|Nor|2003-11-17|XSP:  returns nothing|
|24871|New|Maj|2003-11-20|jsp block functionality broken, running on resin 3|
|24891|New|Nor|2003-11-21|raw-request-param returns null when used with cinc|
|25099|New|Enh|2003-12-01|[Roadmap] CocoonForms |
|25100|New|Nor|2003-12-01|[PATCH] sitemap parameters support for SVGSerializ|
|25110|New|Enh|2003-12-01|[Roadmap] CocoonForms - release 1.0   |
|25113|New|Enh|2003-12-01|[Roadmap] CocoonForms - FUTURE releases   |
|25114|New|Enh|2003-12-01|[Roadmap] Support for multi-page forms|
|25115|New|Enh|2003-12-01|[Roadmap] General review of all XML elements  |
|25116|New|Enh|2003-12-01|[Roadmap] Tree widget |
|25280|New|Enh|2003-12-08|[Roadmap] Flowscript  |
|25281|New|Enh|2003-12-08|Make it possible to use continuations in clustered|
|25284|New|Enh|2003-12-08|[Roadmap] Flowscript - FUTURE releases|
|25287|New|Enh|2003-12-08|Datatypes repository - widget definition reuse|
|25288|Ass|Enh|2003-12-08|JXTemplate: One base implementation which is easil|
|25289|New|Enh|2003-12-08|[Roadmap] Multi-sources binding   |
|25290|New|Enh|2003-12-08|[Roadmap] Change expression language  |
|25294|Opn|Enh|2003-12-08|Refactoring current styles for making extension si|
|25295|New|Enh|2003-12-08|XUL support   |
|25298|New|Enh|2003-12-08|Calculated fields |
|25299|New|Enh|2003-12-08|Default values for fields |
|25301|New|Enh|2003-12-08|Subforms  |
|25302|New|Enh|2003-12-08|Utility checking form definition and form template|
|25303|New|Enh|2003-12-08|Enhanced validation for selection lists   |
|25305|New|Enh|2003-12-08|Form-model - JavaScript model |
|25306|New|Enh|2003-12-08|[Roadmap] Binding isolation m

Re: [WHOAMI] Jorg Heymans

2005-08-28 Thread Joerg Heinicke

On 25.08.2005 13:51, Jorg Heymans wrote:


meantime here are some random trivia about my current and past person.


A warm welcome!


See (hopefully lots of) you in Amsterdam,
Jorg

oh and my name really is Jorg, so not Joerg or Jörg. This seems to bring
confusion sometimes, mostly for German people as Jörg is very common
there - isn't it Jörg?


Yes, it is. My name is Jörg, on the lists I normally use Joerg to make 
it easier for people writing in US ASCII. But the name often gets 
changed to Jorg. Until recently I knew when I was meant - it could get 
more difficult in the future ;-)


Joerg


Re: ResourceReader and multiple ranges

2005-08-28 Thread Oliver Schalch
Andreas Hartmann said the following on 25.08.2005 11:32:
> Hi Cocoon devs,
> 
> I'm facing a problem delivering PDFs using the ResourceReader.
> 
> Firefox requests document chunks using range headers like
> 
> Range: bytes=554530-53,547362-554529,32768-547361
> 
> 
> The ResourceReader passes everything after the "=" to the
> ByteRange:
> 
> ranges = ranges.substring(ranges.indexOf('=') + 1);
> byteRange = new ByteRange(ranges);
> 
> 
> The ByteRange complains about commas:
> 
> if (string.indexOf(',') != -1) {
> throw new NumberFormatException(
> "Simple ByteRange String contains a comma.");
> }
> 
> 
> The ResourceReader sends a 416:
> 
> ((HttpResponse)response).setStatus(416);
> 
> which ends up in my browser (the download is interrupted).
> 
> 
> Is this a known issue?
> What can I do about it?

Not quite sure if its about your issue, but there is a old thread about
ResourcReader and PDFs:
http://marc.theaimsgroup.com/?t=10389618154&r=1&w=2
and in bugzilla:
http://issues.apache.org/bugzilla/show_bug.cgi?id=7156
but that is closed and fixed.


Oli


-- 
Oliver Schalch   [EMAIL PROTECTED]
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://www.wyona.com  http://lenya.apache.org


smime.p7s
Description: S/MIME Cryptographic Signature


DO NOT REPLY [Bug 32650] - Transformations in views not usable when using aggregation or cocoon internal protocol: The xml gets transfomed more than once

2005-08-28 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=32650


[EMAIL PROTECTED] changed:

   What|Removed |Added

 OS/Version|Mac OS X 10.3   |All
Version|2.1.6   |2.1.7




--- Additional Comments From [EMAIL PROTECTED]  2005-08-28 17:45 ---
This bug also exists on all platforms - not only OS X.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.