https://redmine.gc.cuny.edu/https://redmine.gc.cuny.edu/favicon.ico2022-03-02T20:39:16ZCUNY Graduate Center - Project Tracking SystemCUNY Academic Commons - Bug #15516: Can't publish or save draft of post on wordpress.comhttps://redmine.gc.cuny.edu/issues/15516?journal_id=681722022-03-02T20:39:16ZRaffi Khatchadourianraffi.khatchadourian@hunter.cuny.edu
<ul></ul><p>I got it to work (see <a class="external" href="https://khatchad.commons.gc.cuny.edu/2022/03/02/program-committee-pc-member-for-ase-2022-lbr/">https://khatchad.commons.gc.cuny.edu/2022/03/02/program-committee-pc-member-for-ase-2022-lbr/</a>). I had to log into <a class="external" href="https://khatchad.commons.gc.cuny.edu/wp-admin">https://khatchad.commons.gc.cuny.edu/wp-admin</a> first. There seems to be some weird interplay here between wordpress.com and commons.gc.cuny.edu user authentication. Here are the steps to reproduce:</p>
<p>1. Visit a commons site connected to JetPack.<br />2. Ensure that you are logged out of the commons site but logged in to wordpress.com.<br />3. Add a new post using the JetPack menu bar.<br />4. Publish or save a draft of the post.</p>
<p>You'll see the error the (no other details). Then, log into the commons using wp-admin. Then, it will work.</p> CUNY Academic Commons - Bug #15516: Can't publish or save draft of post on wordpress.comhttps://redmine.gc.cuny.edu/issues/15516?journal_id=681782022-03-02T21:08:07ZRaymond Hoh
<ul><li><strong>Category name</strong> set to <i>WordPress Plugins</i></li><li><strong>Status</strong> changed from <i>New</i> to <i>Reporter Feedback</i></li><li><strong>Assignee</strong> set to <i>Raymond Hoh</i></li></ul><p>Hi Raffi,</p>
<blockquote>
<p>2. Ensure that you are logged out of the commons site but logged in to wordpress.com.</p>
</blockquote>
<p>This sounds like the same problem we were having with JetPack in the past. See <a class="external" href="https://redmine.gc.cuny.edu/issues/12624#note-47">https://redmine.gc.cuny.edu/issues/12624#note-47</a>.</p>
<p>In that post, I mention the following:</p>
<blockquote>
<p>If I am not logged into the Commons and go to wordpress.com, then I click on the Commons post I want to edit. I will get redirected to login to the Commons and afterwards, I will be redirected to the Commons dashboard to edit the post.</p>
</blockquote>
<p>Can you confirm this workflow? Do you get redirected to login and after authentication, do you get redirected to the Commons dashboard?</p>
<hr />
<p>Regarding this:</p>
<blockquote>
<p>When I try to publish or save a draft of the post at <a class="external" href="https://wordpress.com/post/khatchad.commons.gc.cuny.edu/4994">https://wordpress.com/post/khatchad.commons.gc.cuny.edu/4994</a>, I get an error simply saying that there was a failure with no other detail.</p>
</blockquote>
<p>Does adding the <code>?set-editor=classic</code> workaround to the <code>wordpress.com/post/</code> URL do anything? See <a class="external" href="https://redmine.gc.cuny.edu/issues/12624#note-57">https://redmine.gc.cuny.edu/issues/12624#note-57</a>. If not, will have to do some additional debugging to see what JetPack is doing.</p> CUNY Academic Commons - Bug #15516: Can't publish or save draft of post on wordpress.comhttps://redmine.gc.cuny.edu/issues/15516?journal_id=681932022-03-02T22:46:22ZRaffi Khatchadourianraffi.khatchadourian@hunter.cuny.edu
<ul></ul><p>Hi Raymond,</p>
<p>Raymond Hoh wrote:</p>
<blockquote><blockquote>
<p>2. Ensure that you are logged out of the commons site but logged in to wordpress.com.</p>
</blockquote>
<p>This sounds like the same problem we were having with JetPack in the past. See <a class="external" href="https://redmine.gc.cuny.edu/issues/12624#note-47">https://redmine.gc.cuny.edu/issues/12624#note-47</a>.</p>
<p>In that post, I mention the following:</p>
<blockquote>
<p>If I am not logged into the Commons and go to wordpress.com, then I click on the Commons post I want to edit. I will get redirected to login to the Commons and afterwards, I will be redirected to the Commons dashboard to edit the post.</p>
</blockquote>
<p>Can you confirm this workflow?</p>
</blockquote>
<p>This isn't the workflow exactly. I don't go to wordpress.com, but I do use the wordpress.com menu bar (effectively the same thing). However, what fundamentally differs from your described workflow is that I <strong>do not</strong> get redirected to log in to the Commons and I do not get redirected to the Commons dashboard to edit the post (actually, I would think this latter point is a bug if that did happen).</p>
<blockquote>
<p>Do you get redirected to login</p>
</blockquote>
<p>As above, no, I did not. I just got the error I described.</p>
<blockquote>
<p>Regarding this:</p>
<blockquote>
<p>When I try to publish or save a draft of the post at <a class="external" href="https://wordpress.com/post/khatchad.commons.gc.cuny.edu/4994">https://wordpress.com/post/khatchad.commons.gc.cuny.edu/4994</a>, I get an error simply saying that there was a failure with no other detail.</p>
</blockquote>
<p>Does adding the <code>?set-editor=classic</code> workaround to the <code>wordpress.com/post/</code> URL do anything? See <a class="external" href="https://redmine.gc.cuny.edu/issues/12624#note-57">https://redmine.gc.cuny.edu/issues/12624#note-57</a>. If not, will have to do some additional debugging to see what JetPack is doing.</p>
</blockquote>
<p>Since I published the post by discovering the workaround, we would need to recreate the situation in order to test that. However, I believe I was using the block editor.</p> CUNY Academic Commons - Bug #15516: Can't publish or save draft of post on wordpress.comhttps://redmine.gc.cuny.edu/issues/15516?journal_id=681942022-03-02T22:52:06ZRaffi Khatchadourianraffi.khatchadourian@hunter.cuny.edu
<ul></ul><p>In fact, I would say that this issue is not a duplicate of #12624.</p>