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

Crash on records list endpoint when the collection is empty and readonly is true #558

Closed
leplatrem opened this issue Apr 28, 2016 · 4 comments
Labels

Comments

@leplatrem
Copy link
Contributor

When the collection has no record and was never reached, a timestamp is stored.

This does not work if readonly is true because the user does not have the permission to insert into the timestamp table.

We should not try to bump the timestamp when readonly is true.

See:

@leplatrem leplatrem added the bug label Apr 28, 2016
@leplatrem
Copy link
Contributor Author

@Natim
Copy link
Member

Natim commented May 2, 2016

I believe this has been fixed with: mozilla-services/cliquet#698

@Natim Natim closed this as completed May 2, 2016
@Natim
Copy link
Member

Natim commented May 6, 2016

I might be wrong.

@Natim Natim reopened this May 6, 2016
@Natim
Copy link
Member

Natim commented May 18, 2016

Is it possible to silently log the timestamp query error?

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

No branches or pull requests

2 participants