Skip to content

When you are binded to a document that doesn't exist yet, a console error is thrown.Β #49

@MgenGlder

Description

@MgenGlder

πŸ› Bug Report

When I run my vue-firestore powered app and connect it to a document inside of a collection that doesn't exist (yet) I get the error.

Uncaught (in promise) Error: This document (currentBallot) is not exist or permission denied.

Expected Bevavior

There should be an option to suppress/allow this happenstance, because in my case my document won't exist until it is created. This is expected as part of the design of the app, as the app is checking to see if the result of the query returns a valid Firestore object or not.
If not, there is logic that checks against empty or a length of 0 for that document, and it behaves accordingly.
Screen Shot 2020-08-08 at 5 33 27 PM
Looks like the grammar is also incorrect on this one too.

This document <document name> is not exist or permission denied.

should be

The document <document name> doesn't exist or permission was denied

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