Project

General

Profile

Feature #1943

Migration: handle deprecated features in migrators

Added by Anonymous over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Start date:
02/17/2014
Due date:
% Done:

100%

Estimated time:

Description

Right now when one wants to remove an attribute of a meta-model or to change its name, former models would not parse anymore.

The solution would be to actually allow unknown features and then handle them manually in the migrator.

History

#1 Updated by Anonymous over 6 years ago

  • % Done changed from 0 to 100

Done. Made an example by renaming the TableSpecification feature "samplified" into "simplified" and removing the deprecated "isSamplified" feature.

Only tricky thing to remember: now models are even silently loaded if they have some unknown features (i.e., unknown even from the migrators). Only an exception will be logged but the EMF thing will still try hard to get a model out of it. Maybe we should display a warning to the user?

#2 Updated by Anonymous over 6 years ago

  • Assignee changed from Anonymous to Anonymous

#3 Updated by Anonymous over 6 years ago

  • Assignee changed from Anonymous to Anonymous
  • Target version changed from Phoenix 2.6 Release to 76

#4 Updated by Anonymous over 6 years ago

  • Subject changed from handle deprecated features in migrators to Migration: handle deprecated features in migrators

#5 Updated by Anonymous over 6 years ago

  • Target version changed from 76 to Phoenix 2.6 Release

#6 Updated by Anonymous over 6 years ago

  • Target version changed from Phoenix 2.6 Release to AF3 2.6 RC1 Feature Freeze

#7 Updated by Anonymous over 6 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF