[Seaside] Maybe a FileReference bug?
diego.lont at delware.nl
Wed Sep 25 08:21:55 UTC 2013
I recently fixed Pier3 to use Seaside 3.1 as it uses some functionality of Seaside 3.1. I do not know if Seaside 3.1 is already released, but I think it is stable enough, so I advice you to upgrade to Seaside 3.1 and then check if you still have these issues.
> Hi All,
> I've got Pier3, seaside 3.0.8(9?) running in Pharo 2 and have an issue with FileUpload.
> The issue appear to be in FileReference resolveString:
> resolveString: aString
> | thePath |
> thePath := filesystem pathFromString: aString.
> ^ filesystem referenceTo: (path resolve: thePath)
> aString is 'image.png', aFileReference path is the full path to the file:
> however (path resolve: thePath) returns:
> I think I may have an issue with the packages loaded since I also needed to chance a bunch of deprecated #pathName to #fullName. I kinda expected this in the Pier classes since I don't think it's ready for 2 (just guessing).
> I also noticed that I have the FileSystem-Legacy package loaded and saw a comment about it being needed for seaside 3.0.x in Pharo2… which is what I'm running. Haven't looked deep enough to work it out yet, but wanted to ask if I'm running in circles with the wrong versions of things before I continue.
> Any advice?
> Thanks in advance.
> seaside mailing list
> seaside at lists.squeakfoundation.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the seaside