[Seaside] The best combination of stuff for SeaSide?

Lukas Renggli renggli at hotmail.com
Mon May 19 18:34:07 CEST 2003


>This sounds like a platform difference in the way FileDirectory>>exists 
>works.  What does the following expression give you (where resourceDir is a 
>FileDirectory on your resources directory).
>
>    (FileDirectory on: (resourceDir fullNameFor: '5b.jpeg')) exists

It returns true, in a Squeak 3.5-5180 image on Mac OS X.

>There is a test in ModDir>>processHttp that looks to see if there is a 
>directory that matches the URL...if there is, and there is no trailing 
>slash, then a redirect is generated to add the trailing slash.  It looks 
>like you're getting that redirect, which probably means that the test 
>(FileDirectory>>exists) is answering true, even when the item is a file and 
>not a directory.

Exactly, I put a 'self halt' in there and it does what you are writing.

How might I solve that problem, should I post it as a bug to the 
Squeak-Mailinglist? I really like to continue using commanche for that kind 
of stuff?

Cheers
Lukas

_________________________________________________________________
MSN Hotmail  -  Absolut kostenfrei! Der weltweit grösste E-Mail-Anbieter im 
Netz:  http://www.msn.ch/hotmail



More information about the Seaside mailing list