Closed (fixed)
Project:
Project issue tracking
Version:
5.x-2.3
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 Jan 2009 at 20:53 UTC
Updated:
22 Sep 2010 at 20:59 UTC
After upgrading to 2.3, I started getting a permalink visible on views (blocks and pages) that was broken (see attached screenshot). The html looked like this:
<a href="http://marinemetadata.org/" title="Permalink to: Recent Metadata News">#</a>
After poking around, I found that the views_post_query hook was returning a permalink for all views, not just project-related ones. I modified to use the same switch method that is being used for the views_pre_view hook. Patch attached.
| Comment | File | Size | Author |
|---|---|---|---|
| project_issue.module.patch.txt | 1.5 KB | p_alexander | |
| permalink_broken.png | 3.65 KB | p_alexander |
Comments
Comment #1
dwwYup, I had noticed the same thing a while ago and forgot to file and issue about it or fix it. ;) Thanks for the patch. I simplified some of the code a bit, tested, and committed to DRUPAL-5--2. I'm not committing to HEAD since project_issue.views.inc is going to be completely re-written for #76725: Refactor project issue module to use Views.
Comment #3
MartysMind commentedReviewed and tested patch. Tested OK.
Project Issues with this bug cannot be used on active sites.
Comment #4
dwwThe bug has already been fixed. You can use the 5.x-2.x-dev code if you want, or apply the patch. An official 5.x-2.4 release will come out including this fix at some point, once enough other bugs are fixed.
Comment #5
j0nathan commentedSubscribing because it's still in dev and I encountered pound signs before applying the patch.