Skip to content

the context in cancelCallback is not vm #120

@jkiimm

Description

@jkiimm

Hi, @posva. I've faced the error below:

Uncaught TypeError: Cannot set property 'serverError' of null
    at cancelCallback (eval at <anonymous> (app.bundle.js:4921), <anonymous>:206:28)
    ...

serverError is just a flag variable from component data. So, I check out the source and guess it might be trouble cancelCallback is not handled with cancelCallback.bind(vm). Whereas readyCallback is binded with vm and working fine. Is it intended?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions