Hi Robert, > On 17 Jan 2017, at 18:57, Robert Schuster <[email protected]> > wrote: > > I tried to fix the Proposal type on my own and it seemed the following code > would bring proper values to the "Include in Label" child of the association: > > TopicType tt = dm4.getTopicType(NS("proposal")); > tt.getAssocDef("dm4.datetime.date#dm4.events.from").getChildTopics().set("dm4.core.include_in_label", > false); > tt.getAssocDef("dm4.datetime.date#dm4.events.to").getChildTopics().set("dm4.core.include_in_label", > false);
Your code looks good. > In DM 4.8.4+4.8.5 this leads to a ClassCastException: > > Caused by: java.lang.ClassCastException: > de.deepamehta.core.impl.AssociationModelImpl cannot be cast to > de.deepamehta.core.model.AssociationDefinitionModel > at > de.deepamehta.core.impl.AssociationDefinitionModelImpl.postUpdate(AssociationDefinitionModelImpl.java:170) > at > de.deepamehta.core.impl.DeepaMehtaObjectModelImpl.update(DeepaMehtaObjectModelImpl.java:400) > ... 31 more > > Do you think this needs to be fixed in DM? Should I file a bug report? Confirmed! This is a bug in the DM Core. Yes, please file a bug report. We have 2 bugs now. Consider filing 2 separate reports. Both will be fixed in 4.8.6 then. Thank you very much for reporting! Cheers, Jörg
signature.asc
Description: Message signed with OpenPGP using GPGMail
-- devel mailing list [email protected] http://lists.deepamehta.de/mailman/listinfo/devel-lists.deepamehta.de
