Hi Andy and Blair,
I found a bug in the system browser. This is in a clean 5.01 Pro image. If you try to create a new class in an empty package, then you don't have a superclass to navigate from. This opens a DNU dialog: ContainerView does not understand #selectionOrNil: You can reproduce it with the following steps: In the system browser, select a package with no classes in. Select the 'new class' button. Enter a class name. The superclass field is still empty. Press the superclass button. HTH Ted www.tedbracht.co.uk The full DNU trace: 'ContainerView does not understand #selectionOrNil:' ContainerView(Object)>>doesNotUnderstand: [] in TreeListPresenter(SelectableItemsPresenter)>>selectionOrNil: ExceptionHandler(ExceptionHandlerAbstract)>>markAndTry [] in ExceptionHandler(ExceptionHandlerAbstract)>>try: BlockClosure>>ifCurtailed: BlockClosure>>ensure: ExceptionHandler(ExceptionHandlerAbstract)>>try: BlockClosure>>on:do: TreeListPresenter(SelectableItemsPresenter)>>selectionOrNil: [] in PackagedClassSelector(SelectableItemsPresenter)>>selectionOrNil: ExceptionHandler(ExceptionHandlerAbstract)>>markAndTry [] in ExceptionHandler(ExceptionHandlerAbstract)>>try: BlockClosure>>ifCurtailed: BlockClosure>>ensure: ExceptionHandler(ExceptionHandlerAbstract)>>try: BlockClosure>>on:do: PackagedClassSelector(SelectableItemsPresenter)>>selectionOrNil: ChoosePackagedClassDialog(ChooseClassDialog)>>onViewOpened ChoosePackagedClassDialog(Shell)>>view: ChoosePackagedClassDialog(Shell)>>createView: ChoosePackagedClassDialog class(Presenter class)>>create:on: ChoosePackagedClassDialog class(Presenter class)>>createOn: CreateSubclassDialog>>chooseSuperclass Symbol>>forwardTo: CommandDescription>>performAgainst: [] in Command>>value BlockClosure>>ifCurtailed: BlockClosure>>ensure: Command>>value DialogView>>performCommand: CreateSubclassDialog(Shell)>>performCommand: CommandQuery>>perform DelegatingCommandPolicy(CommandPolicy)>>route: [] in PushButton(View)>>onCommand: BlockClosure>>ifCurtailed: BlockClosure>>ensure: Cursor>>showWhile: PushButton(View)>>onCommand: PushButton>>onActionPerformed PushButton(View)>>performAction PushButton>>command:id: ContainerView(View)>>wmCommand:wParam:lParam: ContainerView(View)>>dispatchMessage:wParam:lParam: [] in InputState>>wndProc:message:wParam:lParam:cookie: BlockClosure>>ifCurtailed: ProcessorScheduler>>callback:evaluate: InputState>>wndProc:message:wParam:lParam:cookie: PushButton(ControlView)>>defaultWindowProcessing:wParam:lParam: PushButton(View)>>defaultWindowProcessing: PushButton(View)>>onLeftButtonReleased: |
"Ted Bracht" <[hidden email]> wrote in message
news:[hidden email]... > Hi Andy and Blair, > > I found a bug in the system browser. This is in a clean 5.01 Pro image. > > If you try to create a new class in an empty package, then you don't have a > superclass to navigate from. This opens a DNU dialog: ContainerView does not > understand #selectionOrNil: Ted, this is a known issue (#1094), that is fixed by PL2, latest beta downloadable from: http://object-arts.com/Lib/Downloads/5.0/PL2beta2.zip Regards Blair |
Hi Blair,
> > Ted, this is a known issue (#1094), that is fixed by PL2, latest beta > downloadable from: > > http://object-arts.com/Lib/Downloads/5.0/PL2beta2.zip > Cheers Ted |
Free forum by Nabble | Edit this page |