8000 Updating from 1.0.8 to 1.2.0 introduces an error in isArrayLike · Issue #4209 · angular/angular.js · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
Updating from 1.0.8 to 1.2.0 introduces an error in isArrayLike #4209
Closed
@larroy

Description

@larroy

Hi

When upgrading from 1.0.8 to 1.2.0 I get an error with the following services:

svc.factory 'AptLoader', ['$resource', ($resource) ->
return $resource('apts.js', {}, { query: {method: 'GET', isArray: true} })
]

I think it's a bug on angular.

TypeError: Cannot use 'in' operator to search for '19' in /apt/search/results/
at isArrayLike (http://one.larroy.com/ws/js/angular.js:183:81)
at forEach (http://one.larroy.com/ws/js/angular.js:225:16)
at http://one.larroy.com/ws/js/angular.js:329:7
at forEach (http://one.larroy.com/ws/js/angular.js:227:18)
at extend (http://one.larroy.com/ws/js/angular.js:327:3)
at Function.angular.module.factory.Resource.(anonymous function) (http://one.larroy.com/ws/js/angular-resource.js:475:42)
at new (http://one.larroy.com/ws/js/app.js:182:29)
at invoke (http://one.larroy.com/ws/js/angular.js:3162:28)
at Object.instantiate (http://one.larroy.com/ws/js/angular.js:3174:23)
at $get (http://one.larroy.com/ws/js/angular.js:5583:28)

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

      0