[deepamehta-devel] changing label config of existing topic type

Jörg Richter jri at deepamehta.de
Wed Feb 1 19:43:26 CET 2017


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 <robert.schuster.rs01 at gmail.com> 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);

-------------- n?chster Teil --------------
Ein Dateianhang mit Bin?rdaten wurde abgetrennt...
Dateiname   : signature.asc
Dateityp    : application/pgp-signature
Dateigr??e  : 496 bytes
Beschreibung: Message signed with OpenPGP using GPGMail
URL         : <http://lists.deepamehta.de/pipermail/devel-lists.deepamehta.de/attachments/20170201/197ba8a4/attachment.sig>


More information about the devel mailing list