Bug 489288 - Master-detail data bindings are not displayed correctly
Summary: Master-detail data bindings are not displayed correctly
Status: RESOLVED FIXED
Alias: None
Product: Viatra
Classification: Modeling
Component: Addons (show other bugs)
Version: 1.2.0   Edit
Hardware: PC Windows NT
: P3 normal
Target Milestone: 1.7.0M3   Edit
Assignee: Abel Hegedus CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-09 09:42 EST by Peter Lunk CLA
Modified: 2017-11-02 05:21 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Lunk CLA 2016-03-09 09:42:55 EST
In case of master detail binding (list of pattern matches, and a form that displays match details), as the details are being updated the following exception is thrown:

org.eclipse.core.runtime.AssertionFailedException: assertion failed: Cannot change value type in a nested observable value, from org.eclipse.emf.ecore.impl.EAttributeImpl to class java.lang.Object

the cause of this problem is that the getValueType() method of the MatcherProperty class returns Object type.

A quick fix can be applied that returns null instead of the Object type, however in the long run, the getValue method should receive a proper implementation.
Comment 1 Zoltan Ujhelyi CLA 2016-03-17 08:38:44 EDT
Added new tickets to 1.3
Comment 2 Zoltan Ujhelyi CLA 2016-05-26 08:41:23 EDT
Postponed.
Comment 3 Zoltan Ujhelyi CLA 2017-01-25 08:09:30 EST
Postponed.
Comment 4 Eclipse Genie CLA 2017-10-30 12:26:40 EDT
New Gerrit change created: https://git.eclipse.org/r/110747