Skip to content

Can't retrieve entity config (after delete extension) #3175

Closed
@sreichel

Description

@sreichel

Preconditions (*)

  1. main branch, works on v19

Bug comes from #2993

Steps to reproduce (*)

  1. install an extension that has custom eav attributes
  2. uninstall, but leave orphan db entries
  3. open admin panel

Expected result (*)

  1. works

Actual result (*)

Can't retrieve entity config: ave_sizechart/eav_attribute

#0 /var/www/html/app/code/core/Mage/Core/Model/Resource.php(280): Mage::throwException('Can't retrieve ...')
#1 /var/www/html/app/code/core/Mage/Core/Model/Resource/Db/Abstract.php(269): Mage_Core_Model_Resource->getTableName('ave_sizechart/e...')
#2 /var/www/html/app/code/core/Mage/Core/Model/Resource/Db/Collection/Abstract.php(480): Mage_Core_Model_Resource_Db_Abstract->getTable('ave_sizechart/e...')
#3 /var/www/html/app/code/core/Mage/Core/Model/Resource/Db/Collection/Abstract.php(565): Mage_Core_Model_Resource_Db_Collection_Abstract->getTable('ave_sizechart/e...')
#4 /var/www/html/app/code/core/Mage/Eav/Model/Resource/Entity/Attribute/Collection.php(112): Mage_Core_Model_Resource_Db_Collection_Abstract->join('ave_sizechart/e...', 'additional_tabl...')
#5 /var/www/html/app/code/core/Mage/Eav/Model/Entity/Type.php(110): Mage_Eav_Model_Resource_Entity_Attribute_Collection->setEntityTypeFilter(Object(Mage_Eav_Model_Entity_Type))
#6 /var/www/html/app/code/core/Mage/Eav/Model/Config.php(212): Mage_Eav_Model_Entity_Type->getAttributeCollection()
#7 /var/www/html/app/code/core/Mage/Eav/Model/Config.php(172): Mage_Eav_Model_Config->_loadEntityAttributes(Object(Mage_Eav_Model_Entity_Type), 0)
#8 /var/www/html/app/code/core/Mage/Eav/Model/Config.php(386): Mage_Eav_Model_Config->_initializeStore()
#9 /var/www/html/app/code/core/Mage/Eav/Model/Entity/Abstract.php(267): Mage_Eav_Model_Config->getEntityType('customer')
#10 /var/www/html/app/code/core/Mage/Customer/Model/Resource/Customer.php(33): Mage_Eav_Model_Entity_Abstract->setType('customer')
#11 /var/www/html/app/code/core/Mage/Core/Model/Config.php(1447): Mage_Customer_Model_Resource_Customer->__construct(Array)

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions