Ticket #1061 (closed Defect: fixed)

Opened 8 years ago

Last modified 8 years ago

A programmatically added assoc def gets no "Include in Label" setting

Reported by: jri Owned by: jri
Priority: Major Milestone: Release 4.8.6
Component: DeepaMehta Standard Distribution Version: 4.8.5
Keywords: Cc: dgf, Malte, JuergeN, robert.schuster
Complexity: 3 Area:
Module: deepamehta-core

Description

As a consequence a NPE is thrown when trying to update the parent type's Label Config afterwards.

Thanks to Robert for reporting!

Change History

comment:1 Changed 8 years ago by jri

  • Status changed from new to accepted

comment:2 Changed 8 years ago by Jörg Richter <jri@…>

In 88cf2ebf465276fb300d958b4ca40f98cdba7c92/deepamehta:

Add Core tests to illustrate #1061.

See #1061.

comment:3 Changed 8 years ago by Jörg Richter <jri@…>

In 801041b3f6d377afdaa971f668fd365c09435cfd/deepamehta:

Core: add migration to repair assoc defs (#1061).

A new Core migration adds missing "Include in Label" topics to assoc defs.

See #1061.

comment:4 Changed 8 years ago by Jörg Richter <jri@…>

In fa884e9f8077912638f77b1d88cc731a05192d45/deepamehta:

Core: adapt tests to repaired assoc defs (#1061).

See #1061.

comment:5 Changed 8 years ago by Jörg Richter <jri@…>

In b49eccf39fbe5e0f9bcb20487b797397ea9ea470/deepamehta:

Core: let migration 7 run only in UPDATE mode.

Migration 7 is the one that repairs the assoc defs with the missing "Include in Label" topic.

See #1061.

comment:6 Changed 8 years ago by jri

  • Status changed from accepted to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.