The attached filein fixes the issue.
With Magritte-XmlBinding installed, you get other errors related to
xmlTarget having an identity crisis as it either DNU xmlAttributeName or
DNU xmlElementName. The description of an MAElementDescription attempts to
send both messages to the model. This occurs without the attached fix so
its not related. My image is Pharo1.4 from a Pier3 One-Click I believe.
I am mentioning this on this thread because it appears to be only related
to the edtior.
On Thu, Nov 21, 2013 at 9:46 AM, John McKeon <p3anoman(a)gmail.com> wrote:
I probably should have spoken up sooner about this. sorry.
The problem is related to the fact that, in Magritte3, you have to
instantiate a class before you can access its description.
MARelationDescription>>reference attempts to get the description of the
class returned by MARelationDescription>>commonClass. But the commonClass
is MADescription and instantiating it fails because it is "abstract". You
could change MADescription>>isAbstract to return true and it should work
but that could break something somewhere else. (I do not have an image
handy with Magritte3 installed or I would try it myself). Otherwise, have a
look at MAReferenceDescription class>>descriptionReference and you will
notice that it builds its classes from MADescription allConcreteClasses.
This is what causes the commonClass method to return MADescription. Perhaps
changing the base class to MAElementDescription might work?
Hope this helps.
On Wed, Nov 20, 2013 at 11:31 AM, Sean P. DeNigris <sean(a)clipperadams.com>wrote:
> Damien Cassou wrote
> > anyone?
> I can reproduce, but I don't know what the problem is...
> View this message in context:
> Sent from the Magritte, Pier and Related Tools mailing list archive at
> Magritte, Pier and Related Tools ...