https://redmine.gc.cuny.edu/https://redmine.gc.cuny.edu/favicon.ico2011-10-23T23:22:46ZCUNY Graduate Center - Project Tracking SystemCUNY Academic Commons - Bug #1259: Homepage redirecthttps://redmine.gc.cuny.edu/issues/1259?journal_id=47872011-10-23T23:22:46ZMatt Goldmattgold@gmail.com
<ul><li><strong>File</strong> <a href="/attachments/387">Screen_Shot_2011-10-23_at_7.20.26_PM.png</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/387/Screen_Shot_2011-10-23_at_7.20.26_PM.png">Screen_Shot_2011-10-23_at_7.20.26_PM.png</a> added</li><li><strong>Category name</strong> set to <i>WordPress (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>Priority name</strong> changed from <i>Normal</i> to <i>High</i></li><li><strong>Target version</strong> set to <i>Not tracked</i></li></ul><p>Hi Guys,</p>
<p>Just FYI, when I went to the dashboard, I saw the privacy settings shown in the attached image. We need to figure out how this happened.</p>
<p>Best,</p>
<p>Matt</p> CUNY Academic Commons - Bug #1259: Homepage redirecthttps://redmine.gc.cuny.edu/issues/1259?journal_id=47932011-10-24T12:27:46ZBoone Gorgesboone@gorg.es
<ul></ul><blockquote>
<p>We need to figure out how this happened.</p>
</blockquote>
<p>Easier said than done. Probably a rogue plugin is changing blog_public meta values, but this is nearly impossible to track, especially for a one-time occurrence. The only plugin I know of that changes blog privacy settings on blogs other than the current blog is bp-groupblog. I've just done a brief audit and I can't see at a glance how even that plugin would be making this error, but it's possible.</p>
<p>A short-term fix, at least for the Commons main site, is to hardcode an exception to blog privacy rules, so that the main Commons blog cannot be set as anything but public (or, alternatively, it can never be hidden, even if the privacy level is set to private somehow). Obviously this is not a fix for the root of the problem, but it will at least prevent any repeats of the issue on the main site.</p>
<p>I'll continue to investigate to see if I can find any glaring issues that might have caused the problem in the first place, though I'm not all that hopeful.</p> CUNY Academic Commons - Bug #1259: Homepage redirecthttps://redmine.gc.cuny.edu/issues/1259?journal_id=47942011-10-24T13:33:49ZBoone Gorgesboone@gorg.es
<ul><li><strong>Status</strong> changed from <i>Assigned</i> to <i>Resolved</i></li><li><strong>Target version</strong> changed from <i>Not tracked</i> to <i>1.2.5</i></li></ul><p>I pushed the suggested changes in <a class="external" href="https://github.com/castiron/cac/commit/d9e1c15c20501015d1269f52b626b4c7c5b44abe">https://github.com/castiron/cac/commit/d9e1c15c20501015d1269f52b626b4c7c5b44abe</a></p>
<p>I still can't see what's going on more generally. I do see that a new blog was created on the 22nd with a privacy level of -2 (visibly only by blog members), which may be related, but that would mean that the Commons would have been hidden from non-logged-in users for a full day before the issue was reported, which I kinda doubt.</p>
<p>If the problem arises again (with the Commons or with any other blog), please let me know before switching the privacy settings back. That will give me more information for debugging. In the meantime, I'm going to mark this ticket as resolved, since it's as fixed as I can practically do at the moment.</p>