[Seaside] Counter app broken

Bany, Michel mbany at cincom.com
Wed Nov 2 16:56:58 CET 2005


 
Avi,

Still working on the port of 2.5b8 to VW. It appears that
the Counter app (WACounter) is broken.

The problem can be reproduced like this.
1) Go to the Counter app
2) Toggle halos
3) Toggle source HTML using the [S] anchor
4) Click the "++" link

Rather than increasing the counter, the configuration page is shown.

I could identify the problem to lie in WAHalo >> source:
where the context object is copied, and I consider this as a bug.

I could fix it by using a ValueHolder for the "count" i-var
in the WARenderingContext class and changing three methods
accordingly. Is that the right way of fixing the bug ?

Similar symptom occurs in 2.6a1 and 2.6a2.

I believe that this regression has been around for quite a while.

Michel.


More information about the Seaside mailing list