https://redmine.gc.cuny.edu/https://redmine.gc.cuny.edu/favicon.ico2018-09-20T18:05:10ZCUNY Graduate Center - Project Tracking SystemCUNY Academic Commons - Bug #10357: Invitation snafuhttps://redmine.gc.cuny.edu/issues/10357?journal_id=391452018-09-20T18:05:10ZBoone Gorgesboone@gorg.es
<ul><li><strong>Status</strong> changed from <i>Assigned</i> to <i>Reporter Feedback</i></li></ul><p>I don't see any invitations created today by your user, so it must not have gone through. You can always check to see whether an invitation has been created by going to the "Invitations Sent" subsection of your Commons profile. <a class="external" href="https://commons.gc.cuny.edu/members/admin/invites/sent/">https://commons.gc.cuny.edu/members/admin/invites/sent/</a></p>
<p>I've spent a few minutes looking through access logs for clues, but it a bit of a haystack. Do you recall what URL you were on when you launched the invitation modal? Were you looking at the Commons subcommittee group?</p>
<p>I'd suggest that you can try the invitations again, this time with your browser's JavaScript console open to the Network subtab (filtered to "XHR" if you want to reduce noise). You should see an AJAX request fired when you click 'Submit'; if it fails, let me know what the dev tools say (especially the request response and status code).</p> CUNY Academic Commons - Bug #10357: Invitation snafuhttps://redmine.gc.cuny.edu/issues/10357?journal_id=391462018-09-20T18:06:22ZMatt Goldmattgold@gmail.com
<ul></ul><p>I was on the CAC team group page. I will try again w/ JS console open</p> CUNY Academic Commons - Bug #10357: Invitation snafuhttps://redmine.gc.cuny.edu/issues/10357?journal_id=391472018-09-20T18:08:38ZMatt Goldmattgold@gmail.com
<ul></ul><p>Just tried again with the network console open. Everything worked as expected and the invitations appear to have gone through.</p> CUNY Academic Commons - Bug #10357: Invitation snafuhttps://redmine.gc.cuny.edu/issues/10357?journal_id=391482018-09-20T18:10:07ZBoone Gorgesboone@gorg.es
<ul></ul><p>Thanks, Matt - glad it worked.</p>
<p>Based on your previous comment (thanks for that, btw), I see 403s in the logs:</p>
<pre>
/var/log/httpd/commons [1014]$ grep "2018:13:2" ssl_access.log | grep POST | grep "cac-comm"
173.56.64.200 - - [20/Sep/2018:13:25:32 -0400] "POST /wp-json/caco/v1/invitation-event/ HTTP/1.1" 403 94 "https://commons.gc.cuny.edu/groups/cac-community-team-project-planning/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36" 45847
173.56.64.200 - - [20/Sep/2018:13:26:18 -0400] "POST /wp-json/caco/v1/invitation-event/ HTTP/1.1" 403 94 "https://commons.gc.cuny.edu/groups/cac-community-team-project-planning/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36" 46129
</pre>
<p>These request definitely should <strong>not</strong> be rejected as "unauthorized" for a logged-in user. It could be that there was some sort of cookie authentication error caused by network hiccups. Given that we haven't heard other reports of this, and don't have steps to reproduce, I'd suggest we can probably close out, with a mental note to circle back if this comes up again.</p> CUNY Academic Commons - Bug #10357: Invitation snafuhttps://redmine.gc.cuny.edu/issues/10357?journal_id=391492018-09-20T18:14:09ZMatt Goldmattgold@gmail.com
<ul><li><strong>Status</strong> changed from <i>Reporter Feedback</i> to <i>Rejected</i></li></ul><p>Okay. It is possible that my wifi was spotty, so let's proceed as you suggest. Thanks!</p>