magento / meta-for-magento2

40 stars 23 forks source link

Function name mismatch: isOrdersSyncEnabled vs. isOrderSyncEnabled #39

Closed simonrl closed 1 year ago

simonrl commented 1 year ago

Preconditions (*)

  1. Meta Version 1.2.1
  2. Magento Version 2.4.6-p3

Steps to reproduce (*)

  1. Create an order
  2. Create a shipment for the order
  3. Create a tracking label for the shipment

Expected result (*)

  1. Tracking label created

Actual result (*)

  1. Spinner in backend
  2. exception.log: "Call to undefined function Meta\BusinessExtension\Model\System\Config::isOrdersSyncEnabled()

Reason: The function is named isOrderSyncEnabled(), but is called as isOrdersSyncEnabled() in the code

ihor-sviziev commented 1 year ago

Looks like fixed in https://github.com/magento/meta-for-magento2/commit/0ecab4bd3b51b60a19c355e6391e54863ab1620d, but not available in stable release yet

zlik commented 1 year ago

Released in v1.2.1, closing the issue