Magento Forum

   
Bug when changing Main_Website and English_store name from admin panel
 
Samson
Jr. Member
 
Total Posts:  11
Joined:  2008-01-08
 

Hi,

Greetings from France.
I’m already a big fan of Magento, even if I’m getting in trouble with the beta versions :S
I got several bugs today with the last version when I was working from the admin panel.

The one that I couldn’t solve by myself occured when I changed Main Website and English store name from System > Configuration > Current Configuration Scope: > Edit Website

EDIT : I changed the store code too.
I had a look at the bug reporting page and this bugs was reported in the previous version.

Now I got this bug trace on the front end in the shopping cart :

exception ‘Mage_Eav_Exception’ with message ‘Un store_id valide est attendu !’ in /var/www/mdm/app/Mage.php:363
Stack trace:
#0 /var/www/mdm/app/code/core/Mage/Eav/Model/Entity/Type.php(90): Mage::exception(’Mage_Eav’, ‘Un store_id val...’)
#1 /var/www/mdm/app/code/core/Mage/Eav/Model/Entity/Abstract.php(950): Mage_Eav_Model_Entity_Type->fetchNewIncrementId(NULL)
#2 /var/www/mdm/app/code/core/Mage/Eav/Model/Entity/Attribute/Backend/Increment.php(32): Mage_Eav_Model_Entity_Abstract->setNewIncrementId(Object(Mage_Sales_Model_Quote))
#3 [internal function]: Mage_Eav_Model_Entity_Attribute_Backend_Increment->beforeSave(Object(Mage_Sales_Model_Quote))
#4 /var/www/mdm/app/code/core/Mage/Eav/Model/Entity/Abstract.php(580): call_user_func_array(Array, Array)
#5 /var/www/mdm/app/code/core/Mage/Eav/Model/Entity/Abstract.php(1187): Mage_Eav_Model_Entity_Abstract->walkAttributes(’backend/beforeS...’, Array)
#6 /var/www/mdm/app/code/core/Mage/Eav/Model/Entity/Abstract.php(807): Mage_Eav_Model_Entity_Abstract->_beforeSave(Object(Mage_Sales_Model_Quote))
#7 /var/www/mdm/app/code/core/Mage/Core/Model/Abstract.php(209): Mage_Eav_Model_Entity_Abstract->save(Object(Mage_Sales_Model_Quote))
#8 /var/www/mdm/app/code/core/Mage/Checkout/Model/Session.php(58): Mage_Core_Model_Abstract->save()
#9 /var/www/mdm/app/code/core/Mage/Checkout/Block/Cart/Sidebar.php(72): Mage_Checkout_Model_Session->getQuote()
#10 /var/www/mdm/app/code/core/Mage/Checkout/Block/Cart/Sidebar.php(43): Mage_Checkout_Block_Cart_Sidebar->getQuote()
#11 /var/www/mdm/app/design/frontend/default/default/template/checkout/cart/sidebar.phtml(34): Mage_Checkout_Block_Cart_Sidebar->getItemCollection()
#12 /var/www/mdm/app/code/core/Mage/Core/Block/Template.php(118): include(’/var/www/mdm/ap...’)
#13 /var/www/mdm/app/code/core/Mage/Core/Block/Template.php(144): Mage_Core_Block_Template->fetchView(’frontend/defaul...’)
#14 /var/www/mdm/app/code/core/Mage/Core/Block/Template.php(189): Mage_Core_Block_Template->renderView()
#15 /var/www/mdm/app/code/core/Mage/Core/Block/Text/List.php(36): Mage_Core_Block_Template->toHtml()
#16 /var/www/mdm/app/code/core/Mage/Core/Block/Abstract.php(437): Mage_Core_Block_Text_List->toHtml()
#17 /var/www/mdm/app/code/core/Mage/Core/Block/Abstract.php(415): Mage_Core_Block_Abstract->_getChildHtml(’right’, true)
#18 /var/www/mdm/app/design/frontend/default/default/template/page/2columns-right.phtml(82): Mage_Core_Block_Abstract->getChildHtml(’right’)
#19 /var/www/mdm/app/code/core/Mage/Core/Block/Template.php(118): include(’/var/www/mdm/ap...’)
#20 /var/www/mdm/app/code/core/Mage/Core/Block/Template.php(144): Mage_Core_Block_Template->fetchView(’frontend/defaul...’)
#21 /var/www/mdm/app/code/core/Mage/Core/Block/Template.php(189): Mage_Core_Block_Template->renderView()
#22 /var/www/mdm/app/code/core/Mage/Core/Model/Layout.php(417): Mage_Core_Block_Template->toHtml()
#23 /var/www/mdm/app/code/core/Mage/Core/Controller/Varien/Action.php(309): Mage_Core_Model_Layout->getOutput()
#24 /var/www/mdm/app/code/core/Mage/Cms/Helper/Page.php(83): Mage_Core_Controller_Varien_Action->renderLayout()
#25 /var/www/mdm/app/code/core/Mage/Cms/controllers/IndexController.php(26): Mage_Cms_Helper_Page->renderPage(Object(Mage_Cms_IndexController), ‘home’)
#26 /var/www/mdm/app/code/core/Mage/Core/Controller/Varien/Action.php(332): Mage_Cms_IndexController->indexAction()
#27 /var/www/mdm/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(149): Mage_Core_Controller_Varien_Action->dispatch(’index’)
#28 /var/www/mdm/app/code/core/Mage/Core/Controller/Varien/Front.php(166): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#29 /var/www/mdm/app/Mage.php(411): Mage_Core_Controller_Varien_Front->dispatch()
#30 /var/www/mdm/index.php(29): Mage::run(’base’)
#31 {main}

 
Magento Community Magento Community
Magento Community
Magento Community
 
Samson
Jr. Member
 
Total Posts:  11
Joined:  2008-01-08
 

I checked the database and I didn’t find any null value in any store_id column from eav_* tables, core_website, core_store

MySQL Version 5.0
PHP Version 5.2.0-8+etch9

 
Magento Community Magento Community
Magento Community
Magento Community
 
Samson
Jr. Member
 
Total Posts:  11
Joined:  2008-01-08
 

bug reported

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top