https://redmine.gc.cuny.edu/https://redmine.gc.cuny.edu/favicon.ico2012-02-08T00:47:15ZCUNY Graduate Center - Project Tracking SystemCUNY Academic Commons - Bug #1621: Private blog posts feeding into another group https://redmine.gc.cuny.edu/issues/1621?journal_id=58882012-02-08T00:47:15ZSarah Morgano
<ul><li><strong>Priority name</strong> changed from <i>Normal</i> to <i>High</i></li></ul> CUNY Academic Commons - Bug #1621: Private blog posts feeding into another group https://redmine.gc.cuny.edu/issues/1621?journal_id=58902012-02-08T01:02:07ZMatt Goldmattgold@gmail.com
<ul><li><strong>Category name</strong> set to <i>BuddyPress (misc)</i></li><li><strong>Status</strong> changed from <i>New</i> to <i>Assigned</i></li><li><strong>Assignee</strong> set to <i>Boone Gorges</i></li><li><strong>Target version</strong> set to <i>1.3.6</i></li></ul> CUNY Academic Commons - Bug #1621: Private blog posts feeding into another group https://redmine.gc.cuny.edu/issues/1621?journal_id=58952012-02-08T18:15:15ZMatt Goldmattgold@gmail.com
<ul></ul><p>bump</p> CUNY Academic Commons - Bug #1621: Private blog posts feeding into another group https://redmine.gc.cuny.edu/issues/1621?journal_id=58962012-02-08T19:33:52ZBoone Gorgesboone@gorg.es
<ul><li><strong>Priority name</strong> changed from <i>High</i> to <i>Immediate</i></li></ul><p>If it's high enough priority to get a bump this quickly, then just mark it as such. That's what priorities are for.</p> CUNY Academic Commons - Bug #1621: Private blog posts feeding into another group https://redmine.gc.cuny.edu/issues/1621?journal_id=58972012-02-08T21:06:13ZBoone Gorgesboone@gorg.es
<ul></ul><p>This is caused by an obscure bug in the bp-groupblog plugin. The chain of events (quite literally a chain) goes something like this:</p>
<p>- A new blog post is written on blog #855, and BuddyPress goes to create an activity item for the new post<br />- Normally, BP would only file the groupblog post under the user id, as it doesn't know about groupblogs. So bp-groupblog interrupts the process, looking at the activity item, and determining that blog #855 is a groupblog belonging to group <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: Search box for new BP "wiki-like" plugin (Resolved)" href="https://redmine.gc.cuny.edu/issues/518">#518</a> (the correct group, Lehman Online).<br />- bp-groupblog then rewrites the activity's item_id parameter to be 518, and changes the component to be 'groups'.<br />- The activity item is then sent back to BuddyPress and <strong>reprocessed</strong>. bp-groupblog now thinks that the blog post belongs to <strong>blog</strong> <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: Search box for new BP "wiki-like" plugin (Resolved)" href="https://redmine.gc.cuny.edu/issues/518">#518</a> - which in this case does exist, and does belong to a group, group <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: Blog post on 1.01? (Resolved)" href="https://redmine.gc.cuny.edu/issues/318">#318</a> (the American Studies group).</p>
<p>Theoretically, this chain would go on forever, until it hit a blog id for which there was no corresponding group.</p>
<p>I've fixed the underlying problem in <a class="external" href="https://github.com/castiron/cac/commit/0c188290a27eaa6c107cd0165fde64aa4cd82cd0">https://github.com/castiron/cac/commit/0c188290a27eaa6c107cd0165fde64aa4cd82cd0</a>, and in BP-Groupblog v1.7.1. Now I will dive in and manually repair the incorrect activity item metadata.</p> CUNY Academic Commons - Bug #1621: Private blog posts feeding into another group https://redmine.gc.cuny.edu/issues/1621?journal_id=58982012-02-08T21:11:44ZBoone Gorgesboone@gorg.es
<ul><li><strong>Status</strong> changed from <i>Assigned</i> to <i>Resolved</i></li></ul><p>The offending activity items have been removed. It's possible (though unlikely, due to the nature of the circumstances, and the fact that the problematic code has only been in our codebase for a month or so) that it's happened elsewhere. If other instances pop up, please reopen this ticket, or create a new one.</p>
<p>I'll do a version release later today with the fix.</p> CUNY Academic Commons - Bug #1621: Private blog posts feeding into another group https://redmine.gc.cuny.edu/issues/1621?journal_id=59062012-02-08T22:16:18ZSarah Morgano
<ul></ul><p>Many thanks, as always, Boone! I just emailed the member to let her know that everything should be squared away in the next few hours when you push out the new release.</p> CUNY Academic Commons - Bug #1621: Private blog posts feeding into another group https://redmine.gc.cuny.edu/issues/1621?journal_id=59112012-02-08T23:30:10ZMatt Goldmattgold@gmail.com
<ul></ul><p>Fantastic. Thanks for your work on this, Boone.</p> CUNY Academic Commons - Bug #1621: Private blog posts feeding into another group https://redmine.gc.cuny.edu/issues/1621?journal_id=59622012-02-15T19:59:28ZSarah Morgano
<ul></ul><p>Hi Boone,</p>
<p>It looks like it's doing it again, although these don't seem to be duplicate posts. On the homepage, I can see at least 3 private/hidden group blog posts. When I click on them it prompts me to log in, but I can still see the first few lines from the Home/News tabs.</p>
<p>Best,<br />Sarah</p> CUNY Academic Commons - Bug #1621: Private blog posts feeding into another group https://redmine.gc.cuny.edu/issues/1621?journal_id=59632012-02-15T20:13:06ZMatt Goldmattgold@gmail.com
<ul><li><strong>Status</strong> changed from <i>Resolved</i> to <i>Assigned</i></li><li><strong>Target version</strong> changed from <i>1.3.6</i> to <i>1.3.7</i></li></ul> CUNY Academic Commons - Bug #1621: Private blog posts feeding into another group https://redmine.gc.cuny.edu/issues/1621?journal_id=59642012-02-15T20:20:20ZBoone Gorgesboone@gorg.es
<ul><li><strong>Status</strong> changed from <i>Assigned</i> to <i>Reporter Feedback</i></li></ul><p>I'm sorry, I don't understand the report.</p>
<blockquote>
<p>On the homepage, I can see at least 3 private/hidden group blog posts.</p>
</blockquote>
<p>The homepage of the Commons, <a class="external" href="http://commons.gc.cuny.edu">http://commons.gc.cuny.edu</a>? Can you specify where you see the posts, and which ones they are? In any case, that section of the site is totally independent of the group/blog connection.</p>
<p>Thanks in advance for any additional details you can provide.</p> CUNY Academic Commons - Bug #1621: Private blog posts feeding into another group https://redmine.gc.cuny.edu/issues/1621?journal_id=59672012-02-15T20:59:04ZSarah Morgano
<ul><li><strong>File</strong> <a href="/attachments/530">homepage.jpg</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/530/homepage.jpg">homepage.jpg</a> added</li></ul><p>Hi Boone,</p>
<p>Sorry for the vague report. I can see posts from the following private/hidden group blogs on the homepage/news tab (screenshot attached):</p>
<p><a class="external" href="http://lehmanonline.commons.gc.cuny.edu/wp-login.php">http://lehmanonline.commons.gc.cuny.edu/wp-login.php</a><br /><a class="external" href="http://hybridinitiative1626276121.commons.gc.cuny.edu/wp-login.php">http://hybridinitiative1626276121.commons.gc.cuny.edu/wp-login.php</a><br /><a class="external" href="http://recruitingtools.commons.gc.cuny.edu/wp-login.php">http://recruitingtools.commons.gc.cuny.edu/wp-login.php</a></p>
<p>I hope this is enough info, but if you need anything else please let me know.</p>
<p>Best,<br />Sarah</p> CUNY Academic Commons - Bug #1621: Private blog posts feeding into another group https://redmine.gc.cuny.edu/issues/1621?journal_id=59692012-02-15T21:22:00ZBoone Gorgesboone@gorg.es
<ul></ul><p>Thanks for the additional details, Sarah.</p>
<p>I was able to find a bug that is, in a roundabout way, related to the stuff discussed above. I believe I have solved it - please see if you can recreate.</p>
<p>Note that the Hybrid Initiative blog is not members-only - it is logged-in-users only.</p> CUNY Academic Commons - Bug #1621: Private blog posts feeding into another group https://redmine.gc.cuny.edu/issues/1621?journal_id=59792012-02-17T13:55:14ZMatt Goldmattgold@gmail.com
<ul></ul><p>Sarah, can you update us on this? Thanks.</p> CUNY Academic Commons - Bug #1621: Private blog posts feeding into another group https://redmine.gc.cuny.edu/issues/1621?journal_id=59812012-02-17T16:34:41ZSarah Morgano
<ul></ul><p>Everything looks good now, thanks Boone!</p> CUNY Academic Commons - Bug #1621: Private blog posts feeding into another group https://redmine.gc.cuny.edu/issues/1621?journal_id=59832012-02-17T16:42:05ZBoone Gorgesboone@gorg.es
<ul><li><strong>Status</strong> changed from <i>Reporter Feedback</i> to <i>Resolved</i></li></ul><p>Thanks, Sarah!</p>