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

500 when liking a reshare of a deleted post #7205

Open
svbergerem opened this issue Nov 19, 2016 · 0 comments
Open

500 when liking a reshare of a deleted post #7205

svbergerem opened this issue Nov 19, 2016 · 0 comments
Labels

Comments

@svbergerem
Copy link
Member

svbergerem commented Nov 19, 2016

ActionView::Template::Error (undefined method `plain_text_without_markdown' for nil:NilClass):
    1: <% if @notification.like_target.public? %>
    2: <%= "#{t('.liked', :name => "#{@notification.sender_name}")}:" %>
    3: 
    4: <%= post_message(@notification.like_target, :process_newlines => true) %>
    5: <% else %>
    6: <%= "#{t('notifier.liked.limited_post', :name => "#{@notification.sender_name}")}." %>
    7: <% end %>
  app/helpers/notifier_helper.rb:8:in `post_message'
  app/views/notifier/liked.markerb:4:in `_app_views_notifier_liked_markerb__1503965643271022918_70189451009920'
  app/mailers/notifier.rb:100:in `block (2 levels) in send_notification'
  app/mailers/notifier.rb:99:in `block in send_notification'
  app/mailers/notifier.rb:107:in `with_recipient_locale'
  app/mailers/notifier.rb:98:in `send_notification'
  app/mailers/notifier.rb:63:in `liked'
  app/workers/mail/liked.rb:7:in `perform'
  app/models/user.rb:338:in `mail'
  app/models/notification.rb:16:in `email_the_user'
  app/models/notifications/liked.rb:21:in `notify'
  app/services/notification_service.rb:13:in `block in notify'
  app/services/notification_service.rb:13:in `each'
  app/services/notification_service.rb:13:in `notify'
  app/workers/receive_local.rb:10:in `perform'
  lib/diaspora/federation/dispatcher.rb:48:in `deliver_to_local'
  lib/diaspora/federation/dispatcher.rb:41:in `deliver_to_subscribers'
  lib/diaspora/federation/dispatcher.rb:27:in `dispatch'
  app/workers/deferred_dispatch.rb:14:in `perform'
  lib/diaspora/federation/dispatcher.rb:22:in `defer_dispatch'
  lib/diaspora/federated/generator.rb:15:in `create!'
  app/models/user/social_actions.rb:13:in `like!'
  app/controllers/likes_controller.rb:16:in `create'
  lib/rack/internet_explorer_version.rb:34:in `call'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants