Skip to content

SC.Record.refresh does not work #11

@blt04

Description

@blt04

Calling refresh on a SC.Record object does not actually refresh the record.

This has to do with line 290 of lib/system/record.js. If refresh is called with no arguments or with recordOnly = false, the statement:

if (recordOnly || (none(recordOnly) && none(prKey)))

will always evaluate to false.

none(recordOnly) should be removed.

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