-
-
Notifications
You must be signed in to change notification settings - Fork 387
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
Key() method invoked with wrong siteID #1499
Milestone
Comments
This is not a bug but rather a documented limitation with a comment describing this behavior.
I do agree with the proposal. Looks like it won't break StaticStore.Key as it ignores aud anyway This should be made clear somehow in comments what passed key won't affect the default store |
paskal
added a commit
that referenced
this issue
Sep 28, 2022
Previously it was set to fixed strings, likely a test artefact. Resolves #1499.
umputun
pushed a commit
that referenced
this issue
Sep 28, 2022
Previously it was set to fixed strings, likely a test artefact. Resolves #1499.
itzomen
pushed a commit
to traleor/comments
that referenced
this issue
Apr 16, 2023
Previously it was set to fixed strings, likely a test artefact. Resolves umputun#1499.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
I noticed that in some places the
Key()
method of adminStore
is called with an incorrect site id, precisely:https://github.com/umputun/remark42/blob/master/backend/app/store/service/service.go#L986
https://github.com/umputun/remark42/blob/master/backend/app/cmd/server.go#L1110
This is not a problem for the "shared" implementation since it supports only one set of data for all sites, however that's not the case for my custom RPC backend... moreover, the fix seems trivial in both cases:
https://github.com/umputun/remark42/blob/master/backend/app/store/service/service.go#L986
https://github.com/umputun/remark42/blob/master/backend/app/cmd/server.go#L1110
Thanks
The text was updated successfully, but these errors were encountered: