jaxon-php / jaxon-js

The Jaxon javascript library https://www.jaxon-php.org.
BSD 3-Clause "New" or "Revised" License
4 stars 2 forks source link

Problem with handler.retry in jaxon.core.js:2465 in version 4.0.4 #28

Closed sdaeges closed 2 months ago

sdaeges commented 2 months ago

Hello once again,

I've just upgraded to jaxon-js version 4.0.4 and I might have found a problem:

TypeError: handler.retry is not a function at self.waitFor [as func] (jaxon.core.js:2465:25) at self.call (jaxon.core.js:1227:24) at execute (jaxon.core.js:1171:21) at processCommand (jaxon.core.js:1183:13) at self.processCommands (jaxon.core.js:1208:18) at self.jsonProcessor [as responseProcessor] (jaxon.core.js:1814:21) at self.received (jaxon.core.js:1852:25) at oRequest.responseHandler (jaxon.core.js:1532:21)

I would have liked to offer a solution for this one, but I am a i bit stumped to be honest.

Regards,

Sascha

sdaeges commented 2 months ago

Slight addition:

handler is this at this point in the code.

image

The retry-function seems to be undefined.

feuzeu commented 2 months ago

Fixed in release https://github.com/jaxon-php/jaxon-js/releases/tag/v4.0.5.