Impossible to install 2 components with the same name.
Original Reporter info from Mantis: michael @mvancanneyt
-
Reporter name: Michael Van Canneyt
Original Reporter info from Mantis: michael @mvancanneyt
- Reporter name: Michael Van Canneyt
Description:
It is impossible to install 2 components with the same name, but implemented in different units. They are different components.
This is a problem for e.g. TMS FNC Components, where a web version and a native version of the same components exists.
I think that the solution is simple: the unique identifier of a component should not be the component name, but the unitname.classname.
The unitname is available through the TObject class method:
class function UnitName : ansistring;
Steps to reproduce:
Install the attached package.
The ide will rebuild and restart, and on start give an error.
You can ignore the error, and the second component will not be installed.
Mantis conversion info:
- Mantis ID: 34273
- Version: 1.9 (SVN)
- Monitored by: » @zeljan1 (Zeljan Rikalo)