https://redmine.gc.cuny.edu/https://redmine.gc.cuny.edu/favicon.ico2021-03-09T18:47:48ZCUNY Graduate Center - Project Tracking SystemCUNY Academic Commons - Bug #14142: Can't add Twitter widget to profilehttps://redmine.gc.cuny.edu/issues/14142?journal_id=597422021-03-09T18:47:48ZBoone Gorgesboone@gorg.es
<ul><li><strong>File</strong> <a href="/attachments/17684">Screenshot_2021-03-09_12-47-34.png</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/17684/Screenshot_2021-03-09_12-47-34.png">Screenshot_2021-03-09_12-47-34.png</a> added</li></ul><p>Are you filling in a title for the widget? See screenshot, where it says 'TWITTER'.</p> CUNY Academic Commons - Bug #14142: Can't add Twitter widget to profilehttps://redmine.gc.cuny.edu/issues/14142?journal_id=597432021-03-09T19:29:11ZRaffi Khatchadourianraffi.khatchadourian@hunter.cuny.edu
<ul></ul><p>I tried with and without the widget title. Both didn't save.</p> CUNY Academic Commons - Bug #14142: Can't add Twitter widget to profilehttps://redmine.gc.cuny.edu/issues/14142?journal_id=597442021-03-09T19:31:41ZBoone Gorgesboone@gorg.es
<ul></ul><p>Seems to be working OK for me. I can see a number of places where things might go wrong. It might be helpful if you could share a short video of what you're doing. You might also consider opening your browser console to see if there are any obvious errors that might give me a place to begin investigating.</p> CUNY Academic Commons - Bug #14142: Can't add Twitter widget to profilehttps://redmine.gc.cuny.edu/issues/14142?journal_id=597462021-03-09T19:33:41ZRaffi Khatchadourianraffi.khatchadourian@hunter.cuny.edu
<ul><li><strong>File</strong> <a href="/attachments/17685">Screenshot from 2021-03-09 14-32-07.png</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/17685/Screenshot%20from%202021-03-09%2014-32-07.png">Screenshot from 2021-03-09 14-32-07.png</a> added</li><li><strong>File</strong> <a href="/attachments/17686">Screenshot from 2021-03-09 14-33-23.png</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/17686/Screenshot%20from%202021-03-09%2014-33-23.png">Screenshot from 2021-03-09 14-33-23.png</a> added</li></ul> CUNY Academic Commons - Bug #14142: Can't add Twitter widget to profilehttps://redmine.gc.cuny.edu/issues/14142?journal_id=597482021-03-09T19:36:30ZRaffi Khatchadourianraffi.khatchadourian@hunter.cuny.edu
<ul></ul><p>Boone Gorges wrote:</p>
<blockquote>
<p>Seems to be working OK for me. I can see a number of places where things might go wrong. It might be helpful if you could share a short video of what you're doing. You might also consider opening your browser console to see if there are any obvious errors that might give me a place to begin investigating.</p>
</blockquote>
<p>No errors that I can see.</p> CUNY Academic Commons - Bug #14142: Can't add Twitter widget to profilehttps://redmine.gc.cuny.edu/issues/14142?journal_id=597492021-03-09T19:40:02ZBoone Gorgesboone@gorg.es
<ul></ul><p>Thanks for the additional info. Marilyn, would you mind seeing whether you can reproduce Raffi's problem on your own profile? I'm not sure where to go next without reproducible steps.</p> CUNY Academic Commons - Bug #14142: Can't add Twitter widget to profilehttps://redmine.gc.cuny.edu/issues/14142?journal_id=597522021-03-09T19:57:42ZRaffi Khatchadourianraffi.khatchadourian@hunter.cuny.edu
<ul><li><strong>File</strong> <a href="/attachments/17697">out.ogv</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/17697/out.ogv">out.ogv</a> added</li></ul><p>Sorry, I am not very good with the screen recordings. I've attached one. It's a bit fast, so you may need to pause it (sorry about that). It can be played with the VLC video player, which is free to download.</p> CUNY Academic Commons - Bug #14142: Can't add Twitter widget to profilehttps://redmine.gc.cuny.edu/issues/14142?journal_id=597532021-03-09T19:59:49ZBoone Gorgesboone@gorg.es
<ul></ul><p>Thanks, this is helpful. I'm not seeing the same behavior in my own case, but hopefully Marilyn can reproduce so that I can have something to test with.</p> CUNY Academic Commons - Bug #14142: Can't add Twitter widget to profilehttps://redmine.gc.cuny.edu/issues/14142?journal_id=597782021-03-09T22:58:44ZMarilyn WeberMweber@gc.cuny.edu
<ul></ul><p>I am able to reproduce this problem. It worked the first time when I entered <code>MarilynWeberGC. Then I noticed that Raff didn't use the </code>, so I tried again without it. Now, whether I use the @ or not, it will not stick - exactly as Raffi's video shows.</p> CUNY Academic Commons - Bug #14142: Can't add Twitter widget to profilehttps://redmine.gc.cuny.edu/issues/14142?journal_id=597792021-03-09T23:36:31ZMarilyn WeberMweber@gc.cuny.edu
<ul></ul><p>Wait, what! I see my reply above has left out the AT symbol before my name, which kinda was the whole point. It worked with the AT symbol. Then I tried without and it didn't work. So I tried again with and that didn't fix it. Trying one final time didn't work either.</p>
<p>I'm going to guess I am hard to follow here. I will try this with another identity (username conduit) and I will record it.</p> CUNY Academic Commons - Bug #14142: Can't add Twitter widget to profilehttps://redmine.gc.cuny.edu/issues/14142?journal_id=597802021-03-10T00:02:12ZMarilyn WeberMweber@gc.cuny.edu
<ul><li><strong>File</strong> <a href="/attachments/17708">Screen Recording 2021-03-09 at 6.57.34 PM.mov</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/17708/Screen%20Recording%202021-03-09%20at%206.57.34%20PM.mov">Screen Recording 2021-03-09 at 6.57.34 PM.mov</a> added</li></ul><p>Here is my recording. It seems that you can add Twitter to your profile only once. If you remove it, then try again, it won't stick.</p> CUNY Academic Commons - Bug #14142: Can't add Twitter widget to profilehttps://redmine.gc.cuny.edu/issues/14142?journal_id=597872021-03-10T12:26:20ZBoone Gorgesboone@gorg.es
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Reporter Feedback</i></li><li><strong>Target version</strong> set to <i>1.18.7</i></li></ul><p>Thanks, Marilyn. I had to test a couple different user accounts but I was finally able to reproduce.</p>
<p>The root issue is kind of in-the-weeds, having to do with the fact that the Twitter widget's data is stored using a WP function that returns false if you call it using the same data as what's already stored in the database, which the profile plugin was interpreting as a failed save. As such, if you had a Twitter widget on your profile, then deleted it, then tried to add the very same widget, it would fail in the way described here. I've fixed the issue in <a class="external" href="https://github.com/cuny-academic-commons/cac-advanced-profiles/commit/c3da281354864bfc26fb56d1f526d6ec481eed35">https://github.com/cuny-academic-commons/cac-advanced-profiles/commit/c3da281354864bfc26fb56d1f526d6ec481eed35</a> and pushed to the production site if you'd like to give it a test.</p> CUNY Academic Commons - Bug #14142: Can't add Twitter widget to profilehttps://redmine.gc.cuny.edu/issues/14142?journal_id=598042021-03-10T14:40:59ZRaffi Khatchadourianraffi.khatchadourian@hunter.cuny.edu
<ul></ul><p>Marilyn Weber wrote:</p>
<blockquote>
<p>Wait, what! I see my reply above has left out the AT symbol before my name, which kinda was the whole point. It worked with the AT symbol. Then I tried without and it didn't work. So I tried again with and that didn't fix it. Trying one final time didn't work either.</p>
<p>I'm going to guess I am hard to follow here. I will try this with another identity (username conduit) and I will record it.</p>
</blockquote>
<p>Ha. I would not have thought to use the AT symbol. I believe that the prompt just asks for a username.</p> CUNY Academic Commons - Bug #14142: Can't add Twitter widget to profilehttps://redmine.gc.cuny.edu/issues/14142?journal_id=598072021-03-10T14:45:58ZRaffi Khatchadourianraffi.khatchadourian@hunter.cuny.edu
<ul></ul><p>Boone Gorges wrote:</p>
<blockquote>
<p>Thanks, Marilyn. I had to test a couple different user accounts but I was finally able to reproduce.</p>
<p>The root issue is kind of in-the-weeds, having to do with the fact that the Twitter widget's data is stored using a WP function that returns false if you call it using the same data as what's already stored in the database, which the profile plugin was interpreting as a failed save. As such, if you had a Twitter widget on your profile, then deleted it, then tried to add the very same widget, it would fail in the way described here. I've fixed the issue in <a class="external" href="https://github.com/cuny-academic-commons/cac-advanced-profiles/commit/c3da281354864bfc26fb56d1f526d6ec481eed35">https://github.com/cuny-academic-commons/cac-advanced-profiles/commit/c3da281354864bfc26fb56d1f526d6ec481eed35</a> and pushed to the production site if you'd like to give it a test.</p>
</blockquote>
<p>It works! Thanks, guys!</p> CUNY Academic Commons - Bug #14142: Can't add Twitter widget to profilehttps://redmine.gc.cuny.edu/issues/14142?journal_id=602292021-03-23T15:48:05ZBoone Gorgesboone@gorg.es
<ul><li><strong>Target version</strong> changed from <i>1.18.7</i> to <i>1.18.8</i></li></ul> CUNY Academic Commons - Bug #14142: Can't add Twitter widget to profilehttps://redmine.gc.cuny.edu/issues/14142?journal_id=608402021-04-13T15:26:36ZBoone Gorgesboone@gorg.es
<ul><li><strong>Target version</strong> changed from <i>1.18.8</i> to <i>1.18.9</i></li></ul> CUNY Academic Commons - Bug #14142: Can't add Twitter widget to profilehttps://redmine.gc.cuny.edu/issues/14142?journal_id=611812021-04-27T17:53:54ZBoone Gorgesboone@gorg.es
<ul><li><strong>Target version</strong> changed from <i>1.18.9</i> to <i>1.18.10</i></li></ul> CUNY Academic Commons - Bug #14142: Can't add Twitter widget to profilehttps://redmine.gc.cuny.edu/issues/14142?journal_id=614982021-05-10T14:38:05ZBoone Gorgesboone@gorg.es
<ul><li><strong>Status</strong> changed from <i>Reporter Feedback</i> to <i>Resolved</i></li></ul>