[Seaside] WAComponent decoration not initializing.

David Shaffer cdshaffer at acm.org
Sat Jul 14 15:20:14 UTC 2007


SCRunnerTask overrode #initializeDecoration so as not to call the super 
method.  This was because the initialization of decorations in Seaside 
<= 2.7 required a session (for backtracking) but no such session is 
available at the time this task is created.  There are several reasons 
for this not the least of which is that SeasideTesting lets you create 
the component under test in the context of your test case (rather than 
the context of the running Seaside application).  For Seaside 2.8 this 
hack may not needed since this automatic backtracking registration 
doesn't occur so your fix is probably correct.  The tests are all green 
except those which depend on WAAllTests so that's a good sign.

David



More information about the Seaside mailing list