Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 312517

Summary: [ETL] Some classes are not recognized
Product: [Modeling] Epsilon Reporter: José Miguel P. <jozemi>
Component: CoreAssignee: Dimitris Kolovos <dkolovos>
Status: CLOSED FIXED QA Contact:
Severity: major    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description José Miguel P. CLA 2010-05-11 20:18:00 EDT
Build Identifier: 20100218-1602

For istance. I have this model.

<?xml version="1.0" encoding="ASCII"?>
<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:pimnat="afpl.nat.pim">
  <pimnat:Policy id="fw2">
    <rule>
      <filter interface="eth1" direction="out" action="deny">
        <matches ipsrc="10.1.1.0/24" ipdst="10.10.10.2" protocol="*" prtsrc="*" prtdst="*"/>
      </filter>
    </rule>
    <rule>
      <filter interface="eth2" direction="in" action="deny">
        <matches ipsrc="10.1.1.0/24" ipdst="10.1.1.3" protocol="tcp" prtsrc="*" prtdst="23"/>
      </filter>
    </rule>
  </pimnat:Policy>
</xmi:XMI>

In the metamodel I have a class called Rule, but when I executed the next sentences:

rule trasnform_policie2
	transform f: Source!Rule
	to p : Target!Filter_Rule{
	
	f.println();
	"hello".println();
}

The execution doesn't found any Source!Rule. In the metamodel this class exists, However I have tried and this can found other classes like Source!Policy

I think this doesn't hapen with all models/metamodels.

Reproducible: Always

Steps to Reproduce:
1. Do a model to model trasnformation using ETL.
2. 
3.
Comment 1 Dimitris Kolovos CLA 2010-05-14 15:16:03 EDT
Fixed in the SVN. Could you please update and verify?
Comment 2 Dimitris Kolovos CLA 2010-05-14 15:18:10 EDT
False alarm :) Not quite fixed.
Comment 3 Dimitris Kolovos CLA 2010-05-14 15:21:12 EDT
Fixed now.
Comment 4 José Miguel P. CLA 2010-05-14 17:39:59 EDT
I have checked and It's working perfect now.
Thank you very much!!
Comment 5 Dimitris Kolovos CLA 2010-05-30 15:49:04 EDT
Changing status to RESOLVED
Comment 6 Dimitris Kolovos CLA 2010-11-25 08:14:03 EST
Fixed in 0.9.0.