eclipse-qvtd / org.eclipse.qvtd

Eclipse Public License 2.0
0 stars 0 forks source link

Variable assignments in MapingCallExp should use oclAsType when necessary #108

Open eclipse-qvtd-bot opened 4 days ago

eclipse-qvtd-bot commented 4 days ago

| --- | --- | | Bugzilla Link | 465928 | | Status | NEW | | Importance | P3 major | | Reported | Apr 30, 2015 07:59 EDT | | Modified | Apr 30, 2015 11:50 EDT | | Reporter | Horacio Hoyos |

Description

Parameter derivation when assigning variables in MappingCallExp can navigate to a super type which then needs to be properly cast so that accessed properties are valid.

E.g. "a2c.owner.table" for which a2c is an AttributeToColumn, so a2c.owner is a FromAtributeOwner. But FromAttributeOwner has no table. You need "a2c.owner.oclAsType(ClassToTable).table"

eclipse-qvtd-bot commented 4 days ago

By Horacio Hoyos on Apr 30, 2015 11:50

Fixed in hhoyos/465928. Waiting for a decision on bug#465913 to also validate the execution of the transformation.