Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Timestamp not updating on Emulator UI #617

Closed
jgavazzisp opened this issue Jul 24, 2021 · 3 comments
Closed

Timestamp not updating on Emulator UI #617

jgavazzisp opened this issue Jul 24, 2021 · 3 comments
Assignees

Comments

@jgavazzisp
Copy link

[REQUIRED] Environment info

firebase-tools: 9.16.0

Platform: macOS

[REQUIRED] Test case

Trying to modify the timestamp field on the Firestore Emulator UI causes only the UI to update and does not persist the new timestamp to the database.

[REQUIRED] Steps to reproduce

  1. Start the Firestore emulator
  2. Create programmatically an timestamp field (using an unit test for instance).
  3. Try to update the timestamp using the Emulator UI (http://localhost:400X/).
  4. Refresh the browser (Chrome or Safari)

[REQUIRED] Expected behavior

The value should be persisted normally to Firestore.

[REQUIRED] Actual behavior

Old value is shown and not persisted on Firestore, also no functions are triggered which might be looking for an update in the that document

Log is attached and there is a clear exception when saving the timestamp.

firebase.log

Thanks

@abeisgoat abeisgoat transferred this issue from firebase/firebase-tools Jul 26, 2021
@yuchenshi
Copy link
Member

This is caused by firebase/firebase-js-sdk#5047. Fix is published upstream and we're working on updating the JS SDK version used in Emulator UI right now.

@yuchenshi
Copy link
Member

This is fixed and will be included in the next Firebase CLI release.

@yuchenshi
Copy link
Member

Fix released in Firebase CLI v9.16.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants