19 Nov
2005
19 Nov
'05
12:06 a.m.
Hi
Im running into some real strange Problems (= the image is locking up
instantly without ALT + . working) when executing the code below.
^SVACLItem descriptionPrincipal copy
stringWriter: SVAsStringWriter;
yourself
SVACLItems >> #descriptionPrincipal
^(MASingleOptionDescription selector: #principal label: 'Principal'
priority: 200)
options: (MADynamicObject on: [
PRCurrentContext value in: [ :context |
context userManagement principals ] ]);
reference: SVPrincipal description;
beRequired;
yourself.
Then I saw that MADynamicObject does not implement #copy (or
#postCopy) because it's a proxy and extends ProtoObject but sends it
to #realSubject. I don't think this is really wanted for
DynamicObjects. So the question is the usual one `Is the bug in my or
Lukas' code or do I just have tomatoes on my eyes'?
Cheers
Philippe