Skip to content

When Alice (a fediverse actor) tries to follow a writefreely actor (Bob) and Alice already follows Bob then writefreely crashes. #159

Closed

Description

@qwazix

Describe the bug

When a follow is already registered in the writefreely database, repeating the follow request crashes writefreely

Steps to reproduce (if necessary)

Steps to reproduce the behavior:

  1. Follow a writefreely author from an instance you control
  2. Fool your instance to think step 1 never happened (remove the follow from the database)
  3. Repeat 1
  4. Observe writefreely crash

Expected behavior

Nothing probably. Or maybe refresh the public key with the new one?

Application configuration

  • Single mode
  • sqlite [mysql/sqlite]
  • Open registration? no
  • Federation enabled? yes

Version or last commit: 0.10.0

log of installation, execution and crash with --debug

Activity

  1. changed the title [-]When Alice (a fediverse actor) tries to follow a writefreely actor (Bob) and Alice already follows Bob then writefreely crashes.[/-] [+]---[/+] on Aug 8, 2019
  2. changed the title [-]---[/-] [+]When Alice (a fediverse actor) tries to follow a writefreely actor (Bob) and Alice already follows Bob then writefreely crashes.[/+] on Aug 8, 2019
  3. ghost
    self-assigned this
    on Aug 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions