I think there's a bug in Grease1.1 for Pharo2.0 and Pharo3.0
Begin forwarded message: > From: Johan Brichau <[hidden email]> > 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 <[hidden email]> > > 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 <[hidden email]> 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. >> > _______________________________________________ seaside-dev mailing list [hidden email] http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev |
Hi Johan, all, thank you for the feedback. I have entered a bug entry in fogbugz: I hope I entered everything correctly. Sabine On Thu, Jan 16, 2014 at 9:07 PM, Johan Brichau-2 [via Smalltalk] <[hidden email]> wrote:
|
Hi Sabine,
I added the bugfix to version 1.1.6 of Grease. cheers Johan On 17 Jan 2014, at 09:42, Sabine Knöfel <[hidden email]> wrote: > Hi Johan, all, > > thank you for the feedback. > > I have entered a bug entry in fogbugz: > > https://pharo.fogbugz.com/f/cases/12670/errorImproperStore-error-because-of-change-in-GRPharoPlatform-readWriteByteStream > > I hope I entered everything correctly. > > Sabine > > > On Thu, Jan 16, 2014 at 9:07 PM, Johan Brichau-2 [via Smalltalk] <[hidden email]> wrote: > I think there's a bug in Grease1.1 for Pharo2.0 and Pharo3.0 > > Begin forwarded message: > > > From: Johan Brichau <[hidden email]> > > 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 <[hidden email]> > > > > 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 <[hidden email]> 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. > >> > > > > _______________________________________________ > seaside-dev mailing list > [hidden email] > http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev > > > If you reply to this email, your message will be added to the discussion below: > http://forum.world.st/Fwd-Pharo-dev-errorImproperStore-error-because-of-change-in-GRPharoPlatform-readWriteByteStream-tp4737336.html > To start a new topic under Seaside Development, email [hidden email] > To unsubscribe from Seaside, click here. > NAML > > > View this message in context: Re: [Pharo-dev] errorImproperStore error because of change in GRPharoPlatform>>readWriteByteStream > Sent from the Seaside Development mailing list archive at Nabble.com. > _______________________________________________ > seaside-dev mailing list > [hidden email] > http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev _______________________________________________ seaside-dev mailing list [hidden email] http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev |
Thank you, Johann! On Sat, Jan 18, 2014 at 7:13 AM, Johan Brichau-2 [via Smalltalk] <[hidden email]> wrote:
|
Free forum by Nabble | Edit this page |