sorry, message was sent prematurely -------------------------------------------------------------------
Hi Robert, in master (4.8.6-SNAPSHOT) each of the discussed problems should now be fixed. Core's assoc def manipulation code is completely revised. - Setting an assoc def's "Include in Label" flag programmatically (see below) now works (#1062). - When creating an assoc def programmatically you can pass an "Include in Label" flag (#1063). - All assoc defs have a "Include in Label" child topic now. A "repairing" DB migration is provided (#1061). - Also an "old" bug regarding editing the assoc def's underlying assoc directly is now fixed (#906). Tests are provided. Note that there are minor BREAKING CHANGES in API and JSON format. Details are described in (the comments of) these tickets: Core: refactor Label Config mechanism https://trac.deepamehta.de/ticket/1063 Programmatically setting an assoc def's "Include in Label" flag throws exception https://trac.deepamehta.de/ticket/1062 A programmatically added assoc def gets no "Include in Label" setting https://trac.deepamehta.de/ticket/1061 Webclient: editing "Include in label" has no effect https://trac.deepamehta.de/ticket/906 Don't use 4.8.6-SNAPSHOT on your production instance yet. Test with your development instance. Cheers, Jörg > On 17 Jan 2017, at 18:57, Robert Schuster <[email protected]> > wrote: > > 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);
signature.asc
Description: Message signed with OpenPGP using GPGMail
-- devel mailing list [email protected] http://lists.deepamehta.de/mailman/listinfo/devel-lists.deepamehta.de
