wordpress-mobile / WordPress-iOS

WordPress for iOS - Official repository
http://ios.wordpress.org/
GNU General Public License v2.0
3.64k stars 1.1k forks source link

Inconsistent comments block when viewing a post in-app #13329

Open yscik opened 4 years ago

yscik commented 4 years ago

Expected behavior

Opening a post in the app as an author shows the post with Leave a Reply box when commenting is enabled.

Actual behavior

Option to comment is missing. When there are already comments, a "Comments are closed" text is displayed. (Commenting is available in browsers)

Steps to reproduce the behavior

Tested on iPad, iOS 13.3, WPiOS 14.0

I have two test blogs and the issue only comes up in one of them, the one on a Business plan/AT. However a user might be having the same issue with a blog on the Personal plan. Both are set to require login to connect.

designsimply commented 4 years ago

Hi @yscik, thanks for the report! I tried following your steps but I was able to see the Leave a Reply box on a post where there are already comments after going to Blog Posts > View. (30s)

There are a few possibly-related issues on file that sound close-to-but-not-exactly-the-same as what you've reported.

In https://github.com/wordpress-mobile/WordPress-iOS/issues/10262, there's a report noting that even if you can see the Leave a Reply box in a Webview you cannot successfully leave a comment. In that case, please direct users to leave comments either using another area of the app such as Comments or Notifications or by using a browser instead of the in-app browser.

In https://github.com/wordpress-mobile/WordPress-iOS/issues/13079, there's a report that comments are sometimes disabled per-post when a post is published from the mobile app even though the site settings have comments on by default. It sounds like this might be what's happening in your case, except I think you would have seen the Comments are closed text in a browser too in that case. Would you mind checking the Discussion > Allow comments option for the post where you saw the problem happen and let me know if it is checked or unchecked?

yscik commented 4 years ago

I've checked, comments are allowed for the post. Looks like the user is not having this problem after all, so it might be only happening for Atomic sites.