wordpress-mobile / WordPress-Android

WordPress for Android
http://android.wordpress.org
GNU General Public License v2.0
2.92k stars 1.3k forks source link

Comments: per-post comments disabled even though allowing comments is enabled globally #10951

Closed designsimply closed 4 years ago

designsimply commented 4 years ago

Posts published via the app have “Allow Comments” off even though the My Sites > Settings > Discussion > Allow Comments option is toggled on.

Hi, I was wondering if you could help me. I recently messaged about how the comments section was switched off on recent posts and how I fixed it by logging into the online WordPress (as I usually use the app) and going onto the individual posts and switching it back. Even though in my settings I've it set so that comments are allowed, each post now has to be manually approved for that which is strange and I was wondering if this is a glitch as it's only started happening recently now. Just annoying as I never usually log in online I just use the app but now I have to log in to make sure the comments are on for each post. Would appreciate any help with this, it seems to only be happening since I updated WordPress in the play store, hope this makes sense. Kind regards

(internal reference: 2458961-zen)

Noting part of a discussion we had about this case earlier which may be helpful:

Took a quick look at the code for the v1.1 and v1.2 REST endpoints to create and update a post. A discussion parameter can be passed to enable or disable comments (among other things) but if it isn’t specified nothing specific is done. I’d assume that whatever the default is for the site would apply? I double checked the WPiOS post service and post service remote code and it doesn't look like discussion is one of the passed parameters.

(internal reference: p4a5px-2q4-p2#comment-10284 /hat tip @aerych)

Note: a few of us have tried a few times to replicate this bug but have not been able to so far.

Also see https://github.com/wordpress-mobile/WordPress-iOS/issues/13079

designsimply commented 4 years ago

Bună ziua, vă rog să mă ajutați să îmi "recapăt" comentariile la articole. E primul meu blog, primul an, gratuit, nu am umblat aiurea la setări și azi m-am trezit că sunt dezactivate la articolul publicat, deși la "setări", cele generale, sunt activate.

Translated with Google:

Hello, please help me get my comments back on the articles. It's my first blog, my first year, for free, I didn't go crazy for settings and today I found out that they are disabled in the published article, although under "settings", the general ones are activated.

(internal reference: 2450880-zen)

designsimply commented 4 years ago

Depuis mes deux derniers articles on ne peut plus me laisser de commentaires... Pourquoi ?

Translated with Google:

Since my last two articles we can not leave any more comments ... Why?

(internal reference: 2450824-zen)

designsimply commented 4 years ago

Comment section is not coming under my blog page although it appeared on previous blogs. I have not changed any settings.

(internal reference: 2454758-zen)

designsimply commented 4 years ago

I am the admin of this blog. My comments are disabled automatically even if i have kept my settings as allow comments. What should I do now?

(internal reference: 2462070-zen)

designsimply commented 4 years ago

Help! There was an unexpected error today while I published my blog. Now a reader told me there was nowhere to comment. I'm doing a giveaway for comments and likes. What is wrong??

(internal reference: 2470181-zen)

designsimply commented 4 years ago

Why my comment are not show in the recent post?

(internal reference: 2482847-zen)

designsimply commented 4 years ago

I want to ask, why comments on my last post were off?

(internal reference: 2482945-zen)

designsimply commented 4 years ago

Depuis les 3 derniers articles que j'ai créé, le champ commentaire n'apparait plus? Les personnes qui consultent n'ont plus la possibilité d'écrire. Pouvez-vous me dire d'où vient le problème.

Translated with Google:

Since the last 3 articles I created, the comment field does not appear anymore? People who consult no longer have the opportunity to write. Can you tell me where the problem comes from?

(internal reference: 2488825-zen)

designsimply commented 4 years ago

I want to ask about comment section which is present at the end of post. In some post comment section is present but in some i can't find it. Also in page there is no comment box.

(internal reference: 2489089-zen)

designsimply commented 4 years ago

Help! I was revising my old blog post when I noticed that "Comments Closed". How can I change that?

(internal reference: 2492291-zen)

designsimply commented 4 years ago

I still had the problem of comments getting turned off automatically, while drafting my blog post yesterday. I also wish to inform you that on my blog post of last Saturday, I might have missed out on some blog comments.

(internal reference: 2489057-zen)

designsimply commented 4 years ago

I've noticed that my comments are suddenly disabled and I can't figure out how to turn them back on?

(internal reference: 2492360-zen)

designsimply commented 4 years ago

Comments are suddenly disabled again if I post from the app (even though they're enabled as a global setting).

(internal reference: 2512398-zen)

designsimply commented 4 years ago

I published a blogpost this evening and realised that the comment option is unavailable on this post. Can that be fixed?

(internal reference: 2530719-zen)

designsimply commented 4 years ago

@mchowning is this something you can look into? It sounds like it's possible we aren't sending the discussion parameter for new posts and maybe it used to default to comments being on but that is no longer happening since version 13.4 for several users.

mchowning commented 4 years ago

@mchowning is this something you can look into?

👍 I'll pick this up next.

mchowning commented 4 years ago

I also haven't been able to recreate this issue. I have tested with current develop (82f6294cc4), the current production app, along with the 13.5, and 13.4 apps. I also looked at the json that is being sent when we publish posts and Android and iOS and I didn't notice anything concerning.

In my testing, on both platforms we update the default comments enabled state by switching the toggle in the settings screen. When we publish a post we do not include any information about the comments being enabled for the post, and the server responds telling us (among other things) whether comments were enabled for the published post (which in my testing always reflected the site default).

The only ways I was able to have the comments disabled on a post published from mobile were to either:

😕

rezzap commented 4 years ago

Another report of this here: 2576481-zen

rezzap commented 4 years ago

Another report for this here: 2587241-zen

JoshuaGoode commented 4 years ago

Another report.

The user checked their app's discussion settings and they are allowing comments -- matching the site's Calypso settings.

Also, while the app settings note that they can override their default settings for individual posts, there doesn't seem to be such an option under the Post Settings.

A8C Internal reference: 2632499-zen

rezzap commented 4 years ago

Another report in: 2635794-zen

Self-hosted, Jetpack connected site with comments turned on globally.

KokkieH commented 4 years ago

Another in https://en.forums.wordpress.com/topic/comments-701/

Wordpress for Android version 13.9 Using a Huawei P10 with Android 9.0.1 The problem occurs for every post I make using the app On the app, I’m using Block editor

Type of site: WordPress.com free

designsimply commented 4 years ago

We've had some trouble replicating and debugging this one and need more info! Can you document as many of the following things as possible for each future case?

azollafox commented 4 years ago

2654235-zen

oguzkocer commented 4 years ago

Here are the steps to reproduce: https://github.com/wordpress-mobile/WordPress-iOS/issues/13079#issuecomment-578809360

We have reported the issue internally and will hopefully find a fix soon.

erricgunawan commented 4 years ago

WordPress - 13.9 Android device name: Infinix Zero 3 Free WordPress.com Site.

2666693-zen

oguzkocer commented 4 years ago

This issue is not yet fixed. It turns out Github's auto-close is a bit more aggressive than I thought about the fix XX usage.

mrfoxtalbot commented 4 years ago

Another possible instance of this issue.

The comment section gets automatically turned off for every new post even though the discussion and comment is turned on in the settings. To change it back they have head to their desktop site and tick the comment section on for individual posts. This has started in this month or so.

2724043-zen

Tug commented 4 years ago

I have found a couple of tickets which reported the same bug

2842780-zen 2846251-zen

oguzkocer commented 4 years ago

@Tug @melindahelt I am not entirely sure why we made the assumption that these users were having this issue. As far as I can tell there hasn't been any discussion on those tickets about what the user is experiencing and we just assumed that it's related to this. I checked both of their sites and at least some of their posts have comments enabled and we didn't ask them which posts had their comments disabled and whether they created these posts after the fix was released. Basically there is nothing to go on in those tickets and nothing really that ties it to this ticket.

This was a very specific issue and it'd be unlikely to come up again. If it did, we'd need all the information we could get. As mentioned in this comment we have reproducable steps for this issue and we should utilize that to our advantage and ask questions to verify our assumption that it's indeed this issue that they are experiencing.

@Tug Let's please include some information about the tickets when we are re-opening issues instead of just adding links to them. We try our best to avoid working with internal links and add as much detail as we can into tickets since this is an open source project.

Tug commented 4 years ago

I am not entirely sure why we made the assumption that these users were having this issue.

Your last message on this thread https://github.com/wordpress-mobile/WordPress-Android/issues/10951#issuecomment-583412200 and the fact that we were seeing seemingly related tickets on zendesk made me think that this issue was closed by mistake.

I indeed tried the steps you mentioned in your link in both WPAndroid and WPiOS and was not able to reproduce.