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

Creating Collections through Create SettingsWebView sets ttl_days to 0 when Blank #117

Open
andyvanosdale opened this issue Nov 9, 2023 · 1 comment

Comments

@andyvanosdale
Copy link

There is an issue in SettingsWebview.ts where the ttl_days gets set to 0 when the value is blank. When the ttl_days is set to 0, all documents created are immediately deleted.

Version: v2.0.2 (Fauna v4)

Repro Steps:

  1. Click the + button beside Databases
  2. Choose collection
  3. Type in any arbitrary name (i.e.: test)
  4. Leave the TTL field blank
  5. Click Create
  6. Click the + button beside Databases
  7. Choose 'document'
  8. Choose the Collection just created (i.e.: test)
  9. Add in any arbitrary data
  10. Save the document
  11. Query the documents for the Collection
Paginate(Documents(Collection("test"))

Results:
No documents

Expected Results:
The document appears in the query

Copy link

github-actions bot commented Nov 9, 2023

Internal ticket number is FE-4747

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

1 participant