[Seaside] Error Generated on Submit

Philippe Marschall philippe.marschall at gmail.com
Thu Sep 6 05:03:04 UTC 2007


2007/9/5, isaiah perumalla <cappadonza at hotmail.com>:
>
>
> i came across this error before,  basically from what i understood older
> versions of Squeak image dont have #asMutator on Symbol class. when u load
> seaside package,  it adds #asMutator on the Symbol class. squeak 3.9 and
> higher images has #asMutator on Symbol class already so  seaside 2.8
> pacakages dont do this when u load the package.

That is mostly true. #asMutator is already in Squeak 3.8 but else it's correct.

>  your problem may have occured if u had seaside 2.7 loaded previously on the
> image and then update to seaside 2.8 beta, the #asMutator on Symbol class is
> lost in this process. simplest way to fix it is add #asMutator to the Symbol
> class

As said before we do not support updating form 2.7 in Squeak images.
We removed many more overrides and if you make one mistake there's a
chance that you break your image and won't be able to recover.
Seriously, this is not theoretical, we removed an override from
Parser.

>  asMutator
>   ^ (self copyWith: $:) asSymbol

I think we have tests for most of the overrides we removed. If you run
them you should find what else is missing. But again updating from 2.7
in the same image is not recommended.

Cheers
Philippe

>  ________________________________
>  Date: Wed, 5 Sep 2007 00:42:44 -0700
> From: conradwt at gmail.com
> To: seaside at lists.squeakfoundation.org
> Subject: Re: [Seaside] Error Generated on Submit
>
>
> Hi, here's an update in regards to the error that I experienced in Squeak.
> I retyped everything into VWNC using Seaside 2.8 beta and it worked as
> expected except for some styling issues.  Thus, I'm thinking that there may
> have been something wrong with load/install of Seaside 2.8 beta.
>
>
> -Conrad
>
>
> On 9/4/07, Conrad Taylor <conradwt at gmail.com > wrote:
>
> Hi, I'm using the following:
>
>  Smalltlk:  Squeak 3.10
>
>
> Seaside:  Seaside 2.8 beta
>
> Platform:  Mac OS X 10.4.10
>
>
> -Conrad
>
>
> On 9/4/07, Philippe Marschall < philippe.marschall at gmail.com> wrote:
> Hi
>
> What Smalltalk and which version are you using?
>
> Cheers
> Philippe
>
> 2007/9/5, Conrad Taylor < conradwt at gmail.com>:
> > Hi, I getting the following message when I click on the submit button
> > in the seaside application:
> >
> > ByteSymbol(Object)>>doesNotUnd erstand: #asMutator
> >
> > Also, the submit button is constructed as follows:
> >
> > html span class: 'button'; with: [html submitButton callback: [self save]]
> >
> > Thanks,
> >
> > -Conrad
> > _______________________________________________
> > Seaside mailing list
> > Seaside at lists.squeakfoundation.org
> >
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
> >
> _______________________________________________
> Seaside mailing list
> Seaside at lists.squeakfoundation .org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
>
>
> ________________________________
>  Find out. SEEK Salary Centre: What are you really worth?
> _______________________________________________
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
>


More information about the Seaside mailing list