Hi Robert,

in master (4.8.6-SNAPSHOT) every problem should be fixed now.
The assoc def manipulation code is completely revised now (#1063).

- setting an assoc def's "Include in Label" flag programmatically (see below) 
now works.
- when creating an assoc def programmatically you can pass an "Include in 
Label" flag now.
- all assoc defs have a "Include in Label" child topic now. A migration is 
provided (#1061).
- also an "old" bug regarding editing assoc def assocs directly is now fixed 
(#906).

Read

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


> 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);

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

-- 
devel mailing list
[email protected]
http://lists.deepamehta.de/mailman/listinfo/devel-lists.deepamehta.de

Reply via email to