FogBugz (Case [Issue]11242) Spec - Spec dynamic widget doesNotUnderstand: #leftFraction:

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

FogBugz (Case [Issue]11242) Spec - Spec dynamic widget doesNotUnderstand: #leftFraction:

Pharo Issue Tracker
A FogBugz case was opened by AndreiChis.

Case ID:      11242
Title:        Spec dynamic widget doesNotUnderstand: #leftFraction:
Status:       Work Needed
Category:     Bug
Project:      Spec
Area:         Misc
Priority:     5 - Fix If Time
Milestone:    Pharo3.0: 30/03/2014
Assigned To:  Everyone

URL:          https://pharo.fogbugz.com/default.asp?11242

If in Spec I try to rebuild a dynamic widget that is not yet displayed (did not receive openWithSpec), I get an exception: MyWidget(Object)>>doesNotUnderstand: #leftFraction:

An example is in http://www.smalltalkhub.com/mc/AndreiChis/Playground/main in the package DynamicSpec-Examples:
This does not work:
DSChangingButtons new
model: (1 to: 16) asSortedCollection;
setSelection: 8;
openWithSpec.

However, if I move 'setSelection: 8;' at the end it will work:
DSChangingButtons new
model: (1 to: 16) asSortedCollection;
openWithSpec;
setSelection: 8.


You are subscribed to this case.  If you do not want to receive automatic notifications in the future, unsubscribe (https://pharo.fogbugz.com/default.asp?pre=preUnsubscribe&pg=pgEditBug&command=view&ixBug=11242) from this case.

_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker