#112 closed defect (fixed)
Creating a simple application produces a MessageNotUnderstood]: Symbol does not understand: #theMetaclass in process UIPainter [564] error
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | major | Milestone: | 8.0.0 |
Component: | default | Keywords: | |
Cc: | Also affects CVS HEAD (eXept version): | no |
Description
Steps to reproduce on 6.2.6.0 version:
- Launch StX
- Start GUIPainter via icon on StX Launcher
- On a Canvas put two objects 'Entry Field' and a 'Slider'
- Launch the application via the 'rocket' button
- Fill Class TestingApplication
- Click on 'yes' when asked if Create Class TestingApplication
- An error is displayed - [MessageNotUnderstood]: Symbol does not understand: #theMetaclass in process UIPainter [155]
The error stops in method: loadFromClass:aClass on line 15 - (aClass theMetaclass implements:helpSpecSelector) ifFalse:[
Attachments (1)
Change History (10)
comment:1 by , 7 years ago
follow-up: 3 comment:2 by , 7 years ago
You have to count the pros and cons, what would that fork of stx:libtool2 mean in the end?
comment:3 by , 7 years ago
Replying to patrik.svestka@…:
You have to count the pros and cons, what would that fork of stx:libtool2 mean in the end?
In the end all it would take it is to add change couple configuration files here and there, not much.
There are more issues with UI Painter that might need some changes in its codebase e.g. #5, #46, #47, #97 and possibly more will come. So it's clear - fork it.
Will do it soon(ish).
comment:4 by , 7 years ago
Milestone: | → 8.0.0 |
---|
comment:5 by , 7 years ago
OK, forked. You may need to update rakefiles, then remove (move aside) build/stx/libtool2
, then rake chexkout
and recompile rake compile
.
by , 7 years ago
comment:7 by , 7 years ago
Status: | new → testing |
---|
comment:8 by , 7 years ago
Keywords: | The fix works. added |
---|---|
Resolution: | → fixed |
Status: | testing → closed |
comment:9 by , 7 years ago
Keywords: | The fix works. removed |
---|
The problem is trivial, UIPainter>>doDefineClassAndSelector
sends #buildAndMergeFromClass:
passing as class name as parameter. However,UIHelpTool>>#buildAndMergeFromClass:
expects a class object (instance ofClass
).The complication here is that this is all in package
stx:libtool2
which is checked out from eXept's CVS and we cannot commit there, so I have either to fork this package too or ask Claus to fix it for me. Will think of it, but there are so many problems in UI painter anyway so perhaps it's time to fork and fix.