﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
2850	Redeclared models use wrong icon	Adam Dershowitz <dersh@…>	Adeel Asghar	"I created a base object, and then extended it to create other objects.  I then used the base as a replaceable object inside another model.  So, far so good.  If I then create another model, based on that, but redeclare that object, OMEdit shows the ""lower"" object, and not the extended one. That means, for example, that I can't see new connections that have been added by extending.  
The underlying code works fine, but there is no graphical way to make connections to this object, since I can see the ports, and can't click on them to connect.  But, if I do the connections, by editing the text file, the actual simulations does run fine.
As the above is probably not as clear as I would like, I have generated a simple test case.  
In the attached, Test2 does not run, since I have not made the extra connection (and the connection is not shown) and Test3 does work, but again, there is no visible connection between the second sine source, and the object.  But, more specifically, Test2 and Test3 both show an object that appears to be ""ObjectSuper1"" but the code behaves, correctly, as though these are ""ObjectSuper2"".  So OMEdit, should be showing the icons for these as ""ObjectSuper2"".

I believe that I am correctly using replaceable, extends and redeclare, but that OMEdit, is not following them correctly.  

I am using OMEdit 22485 on a Mac.  "	defect	new	blocker	2.0.0	OMEdit	trunk			Adrian Pop
