Skip to content

DeliveryModule wasn't correctly retrieved.#1

Merged
TheCoreDev31 merged 1 commit intomasterfrom
TheCoreDev31-patch-1
Dec 11, 2019
Merged

DeliveryModule wasn't correctly retrieved.#1
TheCoreDev31 merged 1 commit intomasterfrom
TheCoreDev31-patch-1

Conversation

@TheCoreDev31
Copy link
Copy Markdown
Owner

Previously, the function was getting the first active module, even if it wasn't a delivery module.
Therefore, postage data retrieving (occurring line 414) was returning a "Cannot commit because a nested transaction was rolled back" error.

Now, we get the right delivery module, directly from the order.

Previously, the function was getting the first encountered module, event if it wasn't a delivery module.
Therefore, postage data retrieved later (line 414) returned an error.
Now, we get the right delivery module (from the order object).
@TheCoreDev31 TheCoreDev31 merged commit e071273 into master Dec 11, 2019
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

Successfully merging this pull request may close these issues.

1 participant