[Glass] Getting old version of my WASession subclass?

Johan Brichau johan at yesplan.be
Sun Feb 16 00:16:45 PST 2014


On 15 Feb 2014, at 23:02, Philippe Marschall <philippe.marschall at gmail.com> wrote:

> On Sat, Feb 15, 2014 at 4:46 PM, Dale Henrichs
> <dale.henrichs at gemtalksystems.com> wrote:
>> Msriano,
>> 
>> We really ought to do something about this one ... perhaps when I get out of
>> the woods working on 3.2?
>> 
>> The Seaside component code has direct references to classes via a class var
>> or something ... when you create a new version of a class (and it's
>> subclasses) Seaside is still referencing the old version ...
>> 
>> To fix it we would have to find all the places where classes are directly
>> referenced and replace them with a lookup...
> 
> WARenderer class >> #default?


That one too, but I guess the following are more likely to be influenced by the application code evolving:

WAApplication>>#sessionClass
WAApplication>>#initialContinuationClass

The library classes (WAApplication>>#addLibrary and WAApplication>>#removeLibrary:) are also subject to this but I guess that gets used less frequently in production sites.

At least, this is where we take attention when upgrading our code base and getting new class versions for the classes stored in the application config.

Johan


More information about the Glass mailing list