Fix upgrading from 4.x with OrderCurrencyValuesAttributeConditionRule in place#3933
Conversation
|
Thank you for this, could you provide a stack trace of the error? We are trying to hunt down the origin of what would cause this issue and require the suggested fix. Thanks! |
|
Don't have it anymore but I had an order field layout with an order conditional in 4.x and tried upgrading to 5.x |
|
@nfourtythree any news on this? |
|
To double check we can do the correct testing. You have field on the order layout setup something like this? Is that correct? |
|
I have two fields. On is called "original order" where you can select a different order. And one field is called "Order status", which has the conditional that "original order" "has value". |
…ues-attribute-condition-rule
[ci skip]
|
Thank you for the fix @boboldehampsink will merge this into To get this early, change your "require": {
"craftcms/commerce": "5.x-dev as 5.3.11",
"...": "..."
}Then run Thanks! |
|
Commerce Thanks! |

Description
OrderCurrencyValuesAttributeConditionRule exists in 4.x but in 5.x relies on specific 5.x code. When this is in place, upgrading from 4.x to 5.x fails. This PR fixes that.