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

blocklist sync #1204

Open
gkc opened this issue Feb 15, 2023 · 0 comments
Open

blocklist sync #1204

gkc opened this issue Feb 15, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@gkc
Copy link
Contributor

gkc commented Feb 15, 2023

Describe the bug

When running at_talk starting with empty local storage, I noticed this error in the logs

SEVERE|2023-02-15 12:27:55.161748|SyncService (@alice)|exception syncing entry to local {atKey: configkey, value: {"blockList":[]}, metadata: {createdAt: 2023-02-07 10:29:41.046Z, updatedAt: 2023-02-09 13:11:30.811Z, status: active, version: 19}, commitId: 113, operation: +} Exception: Exception: configkey is not well-formed key - stacktrace: #0      AtKey.fromString (package:at_commons/src/keystore/at_key.dart:278:7)

Steps to reproduce

  • Authenticate to some atServer @alice, and execute the config:block:add:@bob and then config:block:remove:@bob commands
  • Clear at_talk's local storage for @alice (rm -rf ~/ai6bh/@alice
  • Run at_talk as @alice in verbose mode, e.g. dart bin/at_talk.dart -d vip.ve.atsign.zone -a @alice -t @bob -v

Expected behavior

  • Syncing should be prevented server-side for this configkey key

Screenshots

No response

Smartphones

No response

Were you using an atApplication when the bug was found?

No response

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant