Error when I try to remove or change a reaction

I cannot remove my :heart: reaction or choose a different reaction on AI helper does not always use user's locale - #6 by sam

1 Like

Oh may be related to removal of widgets @saquetim

Thanks for reporting

So far, I have not been able to reproduce this on another post.

Since its a 500 something is going to be in the meta log which will help us

1 Like

The new tag reminded me of "500 error" when adding a Language Tag(Multilingual Plugin) to a user's post - #5 by Moin where I had a similar problem when I edited the title

2 Likes

Turns out this is an interaction with with activity pub:


plugins/discourse-activity-pub/app/models/concerns/discourse_activity_pub/a_p/model_callbacks.rb:96:in `performing_activity_object'
plugins/discourse-activity-pub/app/models/concerns/discourse_activity_pub/a_p/model_callbacks.rb:19:in `perform_activity_pub_activity'
plugins/discourse-activity-pub/plugin.rb:458:in `block (2 levels) in activate!'
lib/plugin/instance.rb:614:in `block in on'
lib/discourse_event.rb:12:in `block in trigger'
/usr/local/lib/ruby/3.3.0/set.rb:501:in `each_key'
/usr/local/lib/ruby/3.3.0/set.rb:501:in `each'
lib/discourse_event.rb:12:in `trigger'
lib/post_action_destroyer.rb:65:in `perform'
plugins/discourse-reactions/app/services/discourse_reactions/reaction_manager.rb:103:in `remove_shadow_like'
plugins/discourse-reactions/app/services/discourse_reactions/reaction_manager.rb:45:in `toggle_like'
plugins/discourse-reactions/app/services/discourse_reactions/reaction_manager.rb:34:in `block in toggle!'

@pmusaraj is going to have a look cc @angus

Thanks guys. @pmusaraj what is the actual exception? activity_pub_object doesn’t exist? I have a suspicion that the nub of the issue is the reactions plugin has three different data scenarios for reactions.

This may be the scenario where there’s no PostAction, or it’s created in an unconventional way, hence no AP object where one is expected. If so, AP will need to guard against that.

1 Like