I am upgrading from 3.2 to 3.3 and now this is broken:
in can/model/models.js line 589 this is called
- can.Model('Pand', {
- findall: function( params, success, error) {
- // when this is called 'success' is undefined
- }
- }, {
- // stuff
- }
When I call findAll
- Pand.findAll( { point: data.center,converted: true}, function( panden ) {// process});
in can/model/models.js line 589 this is called
- var def = newMethod.apply(this, arguments);
(where arguments still are the object and the success function)
which then calls line 1071
- var def = pipe( oldFind.call( this, params ), this, method );
the oldFind.call( this, params ) causes Pand.findAll to be called with only the 'params' filled. 'success' is undefined.
Am I doing something wrong here or is this a bug?
Am I doing something wrong here or is this a bug?