[aida] Fixes for beta version of Scribo

Janko Mivšek janko.mivsek at eranova.si
Mon Jun 29 11:46:34 CEST 2009


Hi Jarda,

Jaroslav Havlín pravi:

> I have experienced some problems when trying to run Scribo 1.0 beta 1.
> (The files used for installing Scribo and Aida are these:
> Sport-2.031.mcz , Swazoo-2.2beta2.mcz, Aida6.0-beta.1.mcz,
> Scribo1.0-beta.1.mcz.)
> 
> 1) There is a missing method acceptInputs in WebApplication class.
> 
> acceptInputs
>   self acceptInputsFrom: self session lastRequest.
> 
> 2) The second problem occurs after uploading a new image to an
> untitled blog post. The URL path does not match the filesystem path.
> 
> One way to fix this is to change one line in method documentDirectory
> in class Document:
> 
> dir := dir, '/', self preferedUrlName , '-v', self versionNumber.
> 
> should be changed to
> 
> dir := dir, '/', ((self preferedUrlName) copyReplaceAll: ' ' with: '-'
> ) , '-v', self versionNumber.

Try latest Scribo to see if it works for you. I tried file uploads with
it, so far successfull. There is otherwise a speciall String method
#asHttpFriendly for special character replacements, maybe we can put it
here too.

Janko


More information about the Aida mailing list