joomla/joomla-cms — pull request #4446 by byPV (2014-10-03 22:15:04+00:00)
Title: Fix for menu item when install / update a component with same name as a plugin.

Menu Item can be assigned to the components only. If more extensions (component, plugin) with same name/element is installed then it's needed to load ID of the component. The same problem occurs in Joomla 2.5.x and 3.x.