Skip to content

Datasource (local_storage.js) does not support more than one model #14

@deeDude

Description

@deeDude

I debugged local_storage.js and found out that the method _keyForRecordType always returns "sproutcore.local.storage.undefined", meaning that the property recordType.localStorageKey placed on a model SC.Record (as in Todos.Todo model) is always undefined. Therefore, that datasource does not work when you have more than one model.

I'm using SC v1.9.2.

Cheers

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