When an Smart Object variable mapping rule is applied to an existing Smart Object instance via the API, the variable mapping is not saved. It is only saved if you manually open the variable mapping dialog and click “OK”.
This has been fixed and the rule is now applied when using the API method “apply”.
To benefit from this fix: