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.

$cacheFactory.remove() throws exception when the key does not exists #1497

Closed
@mlegenhausen

Description

@mlegenhausen

Instead it should simply return.

TypeError: Cannot read property 'n' of undefined
    at Object.caches.(anonymous function).remove (http://localhost:8080/js/lib/angular/angular.js:3318:24)

Angular Version 1.0.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions