[Seaside-dev] Fwd: [Pharo-dev] errorImproperStore error because of
change in GRPharoPlatform>>readWriteByteStream
Johan Brichau
johan at inceptive.be
Thu Jan 16 20:06:45 UTC 2014
I think there's a bug in Grease1.1 for Pharo2.0 and Pharo3.0
Begin forwarded message:
> From: Johan Brichau <johan at inceptive.be>
> Subject: Re: [Pharo-dev] errorImproperStore error because of change in GRPharoPlatform>>readWriteByteStream
> Date: 16 Jan 2014 21:02:39 GMT+1
> To: Pharo Development List <pharo-dev at lists.pharo.org>
>
> Sabine,
>
> This might be a bug in Grease 1.1 for Pharo3 because Grease 1.0 has identical code for that method in Pharo 2 and 3.
> The timestamp of that method in Grease1.1 is even older than the one in Grease1.0... so it definitely smells buggy...
>
> Johan
>
> On 16 Jan 2014, at 17:41, Sabine Knöfel <sabine.knoefel at gmail.com> wrote:
>
>> Hi,
>>
>> I am migrating from Pharo 2.0 to Pharo3.0
>>
>> My updateRoot contains the following statement:
>>
>> updateRoot: aHtmlRoot
>> aHtmlRoot link url: RKALibrary / #mainStylesLess; relationship:
>> 'stylesheet/less'; beCss.
>>
>> In Pharo 3.0 I get ByteArray errorImproperStore error (Pharo2.0 works)
>>
>> When debugging into, I see:
>> In Pharo 2.0
>>
>> GRPharoPlatform>>readWriteByteStream
>> "ByteArray based read write stream"
>> ^ RWBinaryOrTextStream on: (ByteArray new: 4096)
>>
>> In Pharo 3.0
>> GRPharoPlatform>>readWriteByteStream
>> "ByteArray based read write stream"
>> ^ ReadWriteStream on: (ByteArray new: 4096)
>>
>> This is the reason for the error improperStore error.
>> If I change from ReadWriteStream to RWBinaryOrTextStream, it works.
>>
>> Can anyone fix this or is my conclusion wrong?
>> Regards
>> Sabine
>>
>>
>>
>>
>>
>> --
>> View this message in context: http://forum.world.st/errorImproperStore-error-because-of-change-in-GRPharoPlatform-readWriteByteStream-tp4737266.html
>> Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
>>
>
More information about the seaside-dev
mailing list