magento / meta-for-magento2

33 stars 19 forks source link

Function name mismatch: isOrdersSyncEnabled vs. isOrderSyncEnabled #39

Closed simonrl closed 8 months ago

simonrl commented 8 months 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 8 months ago

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

zlik commented 8 months ago

Released in v1.2.1, closing the issue