Skip to content

jQuery.Deferred exception: this.success is not a function TypeError: this.success is not a function #99

@marcoveeneman

Description

@marcoveeneman

Hi,

We are using module version 3.4.0 in a magento 2.4.5-p10 shop, facing the following error:

jQuery.Deferred exception: this.success is not a function TypeError: this.success is not a function
    at UiClass.validate (https://www.example.com/static/version1736166826/frontend/Vendor/theme-example/nl_NL/Magento_Ui/js/form/element/abstract-ext.js:68:26)
    at UiClass.validate (https://www.example.com/static/version1736166826/frontend/Vendor/theme-example/nl_NL/mage/utils/wrapper.js:109:34)
    at UiClass.onStatus (https://www.example.com/static/version1736166826/frontend/Vendor/theme-example/nl_NL/Flekto_Postcode/js/form/element/house-number.js:49:18)
    at setNested (https://www.example.com/static/version1736166826/frontend/Vendor/theme-example/nl_NL/mage/utils/objects.js:44:25)
    at Object.nested (https://www.example.com/static/version1736166826/frontend/Vendor/theme-example/nl_NL/mage/utils/objects.js:118:20)
    at UiClass.set (https://www.example.com/static/version1736166826/frontend/Vendor/theme-example/nl_NL/Magento_Ui/js/lib/core/element/element.js:305:19)
    at updateValue (https://www.example.com/static/version1736166826/frontend/Vendor/theme-example/nl_NL/Magento_Ui/js/lib/core/element/links.js:80:19)
    at setLink (https://www.example.com/static/version1736166826/frontend/Vendor/theme-example/nl_NL/Magento_Ui/js/lib/core/element/links.js:209:17)
    at https://www.example.com/static/version1736166826/frontend/Vendor/theme-example/nl_NL/Magento_Ui/js/lib/core/element/links.js:236:25
    at Registry._resolveRequest (https://www.example.com/static/version1736166826/frontend/Vendor/theme-example/nl_NL/Magento_Ui/js/lib/registry/registry.js:416:30)

Module is configured as follows:

  • Dutch address fields behavior
    • Only zipcode and housenumber
  • Address fields behavior in autocomplete
    • Hide fields and show a formatted address instead
  • Add manual entry
    • No
  • Change address field position
    • Yes

The error happens in the following scenario:

  1. add product to cart
  2. go to chechout
  3. fill in address
  4. Go back to modify cart, e.g. add a new product or change quantity
  5. Go to checkout again
  6. Fields are prefilled, but housenumber field is missing and error is showing in console

I'll have a look into the error since we are seeing this behaviour in multiple shops at the moment, so i think it is likely an issue in the module.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions