Skip to content

Certain record names will cause the record not to be written to storage. #13

@aokisok

Description

@aokisok

Record names that that map to a table name which contains invalid characters cause writes to storage to silently fail.

To reproduce:

var rec = ds.record.getRecord('foo-bar/32');
rec.set({x: 1});

At this point the record behaves normally as its in the cache, but it hasn't been written to storage, and on restart or cache eviction the record will be lost.

RethinkDB only allows A-z 0-9 and '_' in the table name which is what is causing this.

Note there is no error message when this happens. ( logLevel: DEBUG )

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