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

Reviews and Comments cannot be viewed on Pleroma instances #1348

Open
shiai233 opened this issue Sep 3, 2021 · 6 comments
Open

Reviews and Comments cannot be viewed on Pleroma instances #1348

shiai233 opened this issue Sep 3, 2021 · 6 comments
Labels
activitypub bug Something isn't working

Comments

@shiai233
Copy link

shiai233 commented Sep 3, 2021

Reviews and Comments cannot be viewed by followers from Pleroma instances.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'comment'
  2. Publish a comment
  3. Go to a pleroma instance that follows the account publishing the comment
  4. See error

Expected behavior
Hope the bug will be resolved so that pleroma instances can interact with bookwyrm instances.

Instance
yyyyy.club

@shiai233 shiai233 added the bug Something isn't working label Sep 3, 2021
@mouse-reeve
Copy link
Member

When you say you're seeing an error, what error is that? Or are you just not seeing the comment as expected?

@shiai233
Copy link
Author

shiai233 commented Sep 3, 2021

Thanks for the quick response! I just can't see the reviews and comments as expected.

I also tried with different versions of pleroma. A 2.3.0-1-gb221d77a version of Pleroma has no issue seeing the reviews and comments but the 2.4.0-516-gdc63aaf8 and 2.4.1 versions cannot see the reviews and comments.

I will also raise the issue with the admins of these two Pleroma instances so that they can look into it on their side as well.

@mouse-reeve
Copy link
Member

Gotcha, I expect I did something recently that messed up compatibility. If you're able to get error logs from a Pleroma instance that would be a huge help, but I'm sure I can suss it out regardless

@FloatingGhost
Copy link

the issue is the Edition tag, pleroma doesn't like it
this is probably an issue pleroma-side, given that it should probably just ignore tags it can't validate

 # 1
        %Pleroma.Web.ActivityPub.ObjectValidators.TagValidator{href: nil, icon:                                                                                                              nil, id: nil, name: nil, type: nil, updated: nil}

        # 2
        %{"href" => "https://books.mydomain/book/10", "name" => "Piranesi", "type" => "Edition"}

    Attempted function clauses (showing 3 out of 3):

        def changeset(struct, %{"type" => "Mention"} = data)
        def changeset(struct, %{"type" => "Hashtag", "name" => name} = data)
        def changeset(struct, %{"type" => "Emoji"} = data)

@FloatingGhost
Copy link

it also hates the replies collection, which it doesn't expect to be a referenced array

@FloatingGhost
Copy link

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

No branches or pull requests

3 participants