Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removed shipment - back button produces exception #180

Closed
tomekjordan opened this issue Feb 22, 2017 · 1 comment
Closed

Removed shipment - back button produces exception #180

tomekjordan opened this issue Feb 22, 2017 · 1 comment

Comments

@tomekjordan
Copy link

tomekjordan commented Feb 22, 2017

Hi. I know that stores usually don't remove shipment from db, but sometimes it is a must.
Removing shipment and going back to previous page (shipment page that doesn't exist anymore) triggers exception instead of 404 or just redirect to order view page

Thanks

Log:

There has been an error processing your request
No date part in '' found.

Trace:
#0
/home/admin/domains/test.com/public_html/app/code/core/Zend/Date.php(1091):
Zend_Date->_calculate('set', false, 'MMM d, y h:mm:s...', 'en_US')
#1
/home/admin/domains/test.com/public_html/app/code/core/Zend/Date.php(210):
Zend_Date->set(false, NULL, 'en_US')
#2
/home/admin/domains/test.com/public_html/app/code/core/Mage/Core/Model/Locale.php(546):
Zend_Date->__construct(false, NULL, Object(Zend_Locale))
#3
/home/admin/domains/test.com/public_html/app/code/core/Mage/Sales/Model/Abstract.php(81):
Mage_Core_Model_Locale->storeDate(Object(Mage_Core_Model_Store), false,
true)
#4
/home/admin/domains/test.com/public_html/app/design/adminhtml/default/default/template/iwd/ordermanager/order/view/info.phtml(8):
Mage_Sales_Model_Abstract->getCreatedAtStoreDate()
#5
/home/admin/domains/test.com/public_html/app/code/core/Mage/Core/Block/Template.php(241):
include('/home/admin/dom...')
#6
/home/admin/domains/test.com/public_html/app/code/core/Mage/Core/Block/Template.php(272):
Mage_Core_Block_Template->fetchView('adminhtml/defau...')
#7
/home/admin/domains/test.com/public_html/app/code/core/Mage/Core/Block/Template.php(286):
Mage_Core_Block_Template->renderView()
#8
/home/admin/domains/test.com/public_html/app/code/core/Mage/Adminhtml/Block/Template.php(81):
Mage_Core_Block_Template->_toHtml()
#9
/home/admin/domains/test.com/public_html/app/code/core/Mage/Core/Block/Abstract.php(923):
Mage_Adminhtml_Block_Template->_toHtml()
#10
/home/admin/domains/test.com/public_html/app/code/core/Mage/Core/Block/Abstract.php(641):
Mage_Core_Block_Abstract->toHtml()
#11
/home/admin/domains/test.com/public_html/app/code/core/Mage/Core/Block/Abstract.php(585):
Mage_Core_Block_Abstract->_getChildHtml('order_info', true)
#12
/home/admin/domains/test.com/public_html/app/design/adminhtml/default/default/template/sales/order/shipment/view/form.phtml(28):
Mage_Core_Block_Abstract->getChildHtml('order_info')
#13
/home/admin/domains/test.com/public_html/app/code/core/Mage/Core/Block/Template.php(241):
include('/home/admin/dom...')
#14
/home/admin/domains/test.com/public_html/app/code/core/Mage/Core/Block/Template.php(272):
Mage_Core_Block_Template->fetchView('adminhtml/defau...')
#15
/home/admin/domains/test.com/public_html/app/code/core/Mage/Core/Block/Template.php(286):
Mage_Core_Block_Template->renderView()
#16
/home/admin/domains/test.com/public_html/app/code/core/Mage/Adminhtml/Block/Template.php(81):
Mage_Core_Block_Template->_toHtml()
#17
/home/admin/domains/test.com/public_html/app/code/core/Mage/Core/Block/Abstract.php(923):
Mage_Adminhtml_Block_Template->_toHtml()
#18
/home/admin/domains/test.com/public_html/app/code/core/Mage/Core/Block/Abstract.php(641):
Mage_Core_Block_Abstract->toHtml()
#19
/home/admin/domains/test.com/public_html/app/code/core/Mage/Core/Block/Abstract.php(585):
Mage_Core_Block_Abstract->_getChildHtml('form', true)
#20
/home/admin/domains/test.com/public_html/app/code/core/Mage/Adminhtml/Block/Widget/Form/Container.php(142):
Mage_Core_Block_Abstract->getChildHtml('form')
#21
/home/admin/domains/test.com/public_html/app/design/adminhtml/default/default/template/widget/form/container.phtml(37):
Mage_Adminhtml_Block_Widget_Form_Container->getFormHtml()
#22
/home/admin/domains/test.com/public_html/app/code/core/Mage/Core/Block/Template.php(241):
include('/home/admin/dom...')
#23
/home/admin/domains/test.com/public_html/app/code/core/Mage/Core/Block/Template.php(272):
Mage_Core_Block_Template->fetchView('adminhtml/defau...')
#24
/home/admin/domains/test.com/public_html/app/code/core/Mage/Core/Block/Template.php(286):
Mage_Core_Block_Template->renderView()
#25
/home/admin/domains/test.com/public_html/app/code/core/Mage/Adminhtml/Block/Template.php(81):
Mage_Core_Block_Template->_toHtml()
#26
/home/admin/domains/test.com/public_html/app/code/core/Mage/Adminhtml/Block/Widget/Container.php(308):
Mage_Adminhtml_Block_Template->_toHtml()
#27
/home/admin/domains/test.com/public_html/app/code/core/Mage/Core/Block/Abstract.php(923):
Mage_Adminhtml_Block_Widget_Container->_toHtml()
#28
/home/admin/domains/test.com/public_html/app/code/core/Mage/Core/Block/Text/List.php(43):
Mage_Core_Block_Abstract->toHtml()
#29
/home/admin/domains/test.com/public_html/app/code/core/Mage/Core/Block/Abstract.php(923):
Mage_Core_Block_Text_List->_toHtml()
#30
/home/admin/domains/test.com/public_html/app/code/core/Mage/Core/Block/Abstract.php(641):
Mage_Core_Block_Abstract->toHtml()
#31
/home/admin/domains/test.com/public_html/app/code/core/Mage/Core/Block/Abstract.php(585):
Mage_Core_Block_Abstract->_getChildHtml('content', true)
#32
/home/admin/domains/test.com/public_html/app/design/adminhtml/default/default/template/page.phtml(74):
Mage_Core_Block_Abstract->getChildHtml('content')
#33
/home/admin/domains/test.com/public_html/app/code/core/Mage/Core/Block/Template.php(241):
include('/home/admin/dom...')
#34
/home/admin/domains/test.com/public_html/app/code/core/Mage/Core/Block/Template.php(272):
Mage_Core_Block_Template->fetchView('adminhtml/defau...')
#35
/home/admin/domains/test.com/public_html/app/code/core/Mage/Core/Block/Template.php(286):
Mage_Core_Block_Template->renderView()
#36
/home/admin/domains/test.com/public_html/app/code/core/Mage/Adminhtml/Block/Template.php(81):
Mage_Core_Block_Template->_toHtml()
#37
/home/admin/domains/test.com/public_html/app/code/core/Mage/Core/Block/Abstract.php(923):
Mage_Adminhtml_Block_Template->_toHtml()
#38
/home/admin/domains/test.com/public_html/app/code/core/Mage/Core/Model/Layout.php(555):
Mage_Core_Block_Abstract->toHtml()
#39
/home/admin/domains/test.com/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(390):
Mage_Core_Model_Layout->getOutput()
#40
/home/admin/domains/test.com/public_html/app/code/core/Mage/Adminhtml/controllers/Sales/Order/ShipmentController.php(137):
Mage_Core_Controller_Varien_Action->renderLayout()
#41
/home/admin/domains/test.com/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(418):
Mage_Adminhtml_Sales_Order_ShipmentController->viewAction()
#42
/home/admin/domains/test.com/public_html/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(254):
Mage_Core_Controller_Varien_Action->dispatch('view')
#43
/home/admin/domains/test.com/public_html/app/code/core/Mage/Core/Controller/Varien/Front.php(172):
Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#44
/home/admin/domains/test.com/public_html/app/code/core/Mage/Core/Model/App.php(365):
Mage_Core_Controller_Varien_Front->dispatch()
#45
/home/admin/domains/test.com/public_html/app/Mage.php(683):
Mage_Core_Model_App->run(Array)
#46 /home/admin/domains/test.com/public_html/index.php(83):
Mage::run('', 'store')
#47 {main}`
@tomekjordan tomekjordan changed the title Removed shipment - back button producer exception Removed shipment - back button produces exception May 3, 2018
@fballiano
Copy link
Contributor

What do you mean by "removing a shipment"?

Since this issue didn't get any feedback since almost 5 years I'm closing it, but feel free to reopen it if you feel so, with more info and possibly a PR, it would help us a lot.

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants