<div dir="ltr"><div dir="ltr">On Sun, Aug 18, 2024 at 3:44 PM <<a href="mailto:ken.dickey@whidbey.com">ken.dickey@whidbey.com</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">On 2024-08-18 12:31, Mark Volkmann via Cuis-dev wrote:<br>
<br>
> If a package is installed that defines subclasses of classes that are <br>
> defined in packages that have not been installed yet, their superclass <br>
> will be changed to ProtoObject. No warning message about this will be <br>
> displayed.<br>
> <br>
> For example, suppose the UI-Entry package is not installed.<br>
> That defines the class TextEntryMorph.<br>
> If I install a package that defines the following class<br>
> <br>
> TextEntryMorph subclass: #CenteredTextEntryMorph<br>
> <br>
> that will be changed to<br>
> <br>
> ProtoObject subclass: #CenteredTextEntryMorph --<br>
<br>
As opposed to creating an error..<br>
<br>
Good to see you are testing packages before releasing them on an <br>
unsuspecting world. ;^)<br>
<br>
When you see this, it is a reminder to have your shiny new package <br>
_require_ the requisite packages.<br>
</blockquote></div><div><br></div>The only way I discovered that the superclass had been changed to <font face="monospace">ProtoObject</font> is that I ran the app and got a MessageNotUnderstood debug window. The message was for a method that was supposed to be in the superclass and I tried to find out why it wasn't found. It seems to me it would be better to get an error when the package is being installed that its requirements (superclasses existing) are not met.<div><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div><font face="arial, helvetica, sans-serif">R. Mark Volkmann</font></div><div><span style="font-size:12.8px"><font face="arial, helvetica, sans-serif">Object Computing, Inc.</font></span></div></div></div></div></div></div></div></div></div></div>