-
-
Notifications
You must be signed in to change notification settings - Fork 392
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
Backport 'Fix moderations for comments that are mapped to deleted resources' to v0.26 #9941
Backport 'Fix moderations for comments that are mapped to deleted resources' to v0.26 #9941
Conversation
* Return nil for reported content url if the commentable is deleted * Show "deleted resource" instead of the visit URL when URL is not returned * Add system specs testing that moderations for comments with deleted resources work * Fix issue hiding comments for deleted debates * Add moderation test to hide comments for deleted resources * Add manage moderations shared examples for debates * Fix specs after merging with develop
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are broken specs in this. I think something is working slightly differently in 0.26.
@ahukkanen I've been researching this one and what I found is that this is related to #8774, as that's the PR that introduced The problem is that as far as I see, it's not that easy as backporting that, as there are lots of specs using $ grep -r Capybara.server_port decidim*/spec/ |wc -l
36 So, for now I propose to just drop these references in the backports, as that's the behavior of the specs on this version (v0.26). As an alternative we could backport #9661 (the last iteration of FYI we have this same problem at other PRs (like #9947). |
Yes, I think this is the correct solution. |
🎩 What? Why?
Backport #9621 to v0.26