You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Summary
JS error while trying to Request a quote from the SL (After update from 4.1 to 4.2).
Steps to reproduce
click Request Quote btn in SL menu
Actual Result
Nothing happens. Error in console - app.js?version=1c451eee:180 Uncaught (in promise) Error: mediator.execute: get-line-items handler is not defined at Object.i.execute (app.js?version=1c451eee:180) at o.isConfirmationNeededFromOldShoppingList (oroshoppinglist.js?version=1c451eee:1) at o.isConfirmationNeeded (oroshoppinglist.js?version=1c451eee:1) at open (oroshoppinglist.js?version=1c451eee:1) at d.showConfirmDialog (commons.js?version=1c451eee:54) at d.<anonymous> (commons.js?version=1c451eee:54)
Expected Result
Confirmation popup should be show, no JS errors.
As I can see there is only one appearance of get-line-items in the file -
Initialization of this event was in - oro/commerce/src/Oro/Bundle/ShoppingListBundle/Resources/public/js/app/views/line-items-view.js which is removed in current version.
Details about your environment
OroCommerce version: 4.2
PHP version: 7.4
Database MySQL 8
The text was updated successfully, but these errors were encountered:
JS error should be already fixed and merged to maintenance/4.2.
But if you want to add Request to quote to the shopping list dropdown, you have to implement that logic by your own.
Summary
JS error while trying to Request a quote from the SL (After update from 4.1 to 4.2).
Steps to reproduce
Actual Result
Nothing happens. Error in console -
app.js?version=1c451eee:180 Uncaught (in promise) Error: mediator.execute: get-line-items handler is not defined at Object.i.execute (app.js?version=1c451eee:180) at o.isConfirmationNeededFromOldShoppingList (oroshoppinglist.js?version=1c451eee:1) at o.isConfirmationNeeded (oroshoppinglist.js?version=1c451eee:1) at open (oroshoppinglist.js?version=1c451eee:1) at d.showConfirmDialog (commons.js?version=1c451eee:54) at d.<anonymous> (commons.js?version=1c451eee:54)
Expected Result
Confirmation popup should be show, no JS errors.
As I can see there is only one appearance of
get-line-items
in the file -orocommerce/src/Oro/Bundle/ShoppingListBundle/Resources/public/js/shoppinglist-request-quote-confirmation.js
Line 37 in 4042db6
Initialization of this event was in -
oro/commerce/src/Oro/Bundle/ShoppingListBundle/Resources/public/js/app/views/line-items-view.js
which is removed in current version.Details about your environment
The text was updated successfully, but these errors were encountered: