Skip to content

LiveQuery pointer comparison does not handle null #7929

@massimilianogalanti

Description

@massimilianogalanti

New Feature / Enhancement Checklist

Current Limitation

Current QueryTools.js implementation protects itself from undefined objects but not from null objects. By using Parse Dashboard, it happens to create nulls instead of undefineds.

Feature / Enhancement Description

Checking for undefined and null.
((typeof obj !== 'undefined') && obj !== null)

Example Use Case

Register a livequery with a comparison on a pointer, then put that pointer to null (by code or by dashboard)

Alternatives / Workarounds

Use unset?

3rd Party References

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:bugImpaired feature or lacking behavior that is likely assumed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions