Skip to content

Document ids are broken, often they are same and look this way: 000000000000000000undefined #567

@n-sviridenko

Description

@n-sviridenko

Newly generated document ids are often broken:

Снимок экрана 2021-10-20 в 17 17 46

I'm having around 300 records in my database.

Seems like generateSmallerId returns undefined sometimes. Didn't dig much into this and just replaced it with db.collection(path).doc().id, but the issue is that it's used to retain the documents order. So we need to find a proper solution.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions