AnObsoleteRequirementEditComponent does not understand ....

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

AnObsoleteRequirementEditComponent does not understand ....

larrry
I don't know whether this is a pharo or seaside issue. I'm having a problem where I badly messed up the code in a custom Seaside component class and decide to fix it by deleting it and creating a new class with the same name.  Now when the new class should be getting invoked in Seaside I get: 

MessageNotUnderstood: AnObsoleteRequirementEditComponent class>>requirement:


How do I make Seaside recognize there's a new class? I tried shutting down the image, closing the browser window, clicking replace cache in the config editor, clicking new session, restarting seaside....



_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: AnObsoleteRequirementEditComponent does not understand ....

Mariano Martinez Peck
Can you try evaluating     Smalltalk fixObsoleteReferences.  ?

cheers

On Sat, Sep 17, 2011 at 3:23 PM, Larry White <[hidden email]> wrote:
I don't know whether this is a pharo or seaside issue. I'm having a problem where I badly messed up the code in a custom Seaside component class and decide to fix it by deleting it and creating a new class with the same name.  Now when the new class should be getting invoked in Seaside I get: 

MessageNotUnderstood: AnObsoleteRequirementEditComponent class>>requirement:


How do I make Seaside recognize there's a new class? I tried shutting down the image, closing the browser window, clicking replace cache in the config editor, clicking new session, restarting seaside....



_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside




--
Mariano
http://marianopeck.wordpress.com


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: AnObsoleteRequirementEditComponent does not understand ....

Lukas Renggli
On 17 September 2011 17:15, Mariano Martinez Peck <[hidden email]> wrote:
> Can you try evaluating     Smalltalk fixObsoleteReferences.  ?

<rant>
Hmm, this method is pretty ironic: If the handling of bindings wasn't
totally broken in Pharo this method wouldn't need to exist. If this
method wouldn't exist the model wouldn't be that broken.
</rant>

I suggest to use

    Compiler recompileAll

that shouldn't make the situation worse.

Lukas


--
Lukas Renggli
www.lukas-renggli.ch
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: AnObsoleteRequirementEditComponent does not understand ....

larrry
Thanks. I got by the problem by renaming the class, but it's good to know the right way to fix this. 

On Sat, Sep 17, 2011 at 11:53 AM, Lukas Renggli <[hidden email]> wrote:
On 17 September 2011 17:15, Mariano Martinez Peck <[hidden email]> wrote:
> Can you try evaluating     Smalltalk fixObsoleteReferences.  ?

<rant>
Hmm, this method is pretty ironic: If the handling of bindings wasn't
totally broken in Pharo this method wouldn't need to exist. If this
method wouldn't exist the model wouldn't be that broken.
</rant>

I suggest to use

   Compiler recompileAll

that shouldn't make the situation worse.

Lukas


--
Lukas Renggli
www.lukas-renggli.ch
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside