Active
Project:
Project issue tracking
Version:
5.x-2.x-dev
Component:
Issues
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
2 Jun 2006 at 20:22 UTC
Updated:
26 Jan 2009 at 09:42 UTC
Jump to comment: Most recent file
when you go to the http://drupal.org/project/subscribe and click on "View all issues", you are taken to http://drupal.org/project/issues/subscribe which is the page where users can subscribe to issues in stead of the expected list of issues for the subscribe module.
| Comment | File | Size | Author |
|---|---|---|---|
| #13 | project_issue_subscribe.patch.txt | 2.46 KB | dww |
| #10 | project_issue_0.patch | 1.98 KB | RobRoy |
| #8 | project_issue.patch | 3.41 KB | RobRoy |
| #5 | project_issues_view-url.patch | 2.11 KB | dww |
Comments
Comment #1
dwwthis is really a bug in the project module, not the fault of the "subscribe" module for having chosen a name that happens to be one of the keywords used by the project module for various menus and pages. so, i'm moving this issue to the right place. also, this would be a problem for any of the following keywords that are currently used for project menu items:
here are 3 proposals, none of which make me very happy:
given those 3 choices, i think #1 is the least evil, but still not great. if anyone has a better idea, i'd LOVE to hear it.
thanks,
-derek
p.s. as a work-around to view the issues for the subscribe module, just do this:
- goto http://drupal.org/project/issues/
- select "subscribe" in the drop-down box for "project"
Comment #2
merlinofchaos commented4) Fix all the links so that project/ is always an actual project, and that project internal URLs have some other base URL such as admin/project or project_admin or proj or padmin or somethiing along those lines.
Comment #3
merlinofchaos commented4) Fix all the links so that project/ is always an actual project, and that project internal URLs have some other base URL such as admin/project or project_admin or proj or padmin or somethiing along those lines.
Comment #4
dwwafter a brief discussion on IRC, we concluded there's no real solution in the #4 proposed by merlin...
so, i think merlin's suggestion is basically a +1 for the #2 proposal i made above... merlin, please clarify if you disagree with this assessment. thanks.
Comment #5
dwwquick hack solution. just add [site]/project/issues/view/[project_name] as a valid alternative to [site]/project/issues/[project_name]. so,
http://drupal.org/project/issues/subscribe will still give the global issue subscription page, but at least http://drupal.org/project/issues/view/subscribe will give you the issue queue for the "subscribe" module...
not ideal, but better than nothing. i could also change the default link to the issue queue from the project pages to use the "view" version of the URL, but i didn't want to do that in this initial patch.
Comment #6
dwwComment #7
edrex commentednot fix-related, but the issues for subscribe can of course be accessed using the project nid:
http://drupal.org/project/issues/29077
Comment #8
RobRoy commentedThis just changes all project/issues/subscribe links to project/issues/mail-subscribe to avoid conflicts. Should be fine since module shortnames should only have underscores, no dashes (haven't confirmed this though). This patch is for the 2.x-dev branch. Also, it included the expanded
-// $Name: $
+// $Name: DRUPAL-4-7--2 $
but I manually removed that. Is it okay to leave that in for future reference or is there a diff option to ignore that?
Comment #9
dwwa quick SQL query on d.o yields 13 projects with '-' in the short-name:
some of these are probably bogus values that don't match the directory names in cvs. others (e.g. the pt-pt (portugese translation (portugal, not brasil)) are certainly valid.
however, it's not clear that it matters, and certainly none are called "mail-subscribe" or "subscribe-mail", etc. ;)
i still need to think about this a little more before i commit (and test it), but i guess something like this is ok.
Comment #10
RobRoy commentedPatch re-rolled against HEAD. Look okay?
Comment #11
merlinofchaos commentedI think it's a good idea =)
Comment #12
dwwa) this patch breaks issue subscription entirely, since we need to fix the 'subscribe' case in
project_issue_page()to handle the new URL (whatever it ends up being). i positively *HATE*project_issue_page(), but fixing that and reorganizing all this code is a much bigger problem i have no time for now.b) "subscribe-mail" seems slightly nicer than "mail-subscribe".
i'll just fix locally and commit, i guess. no sense someone else re-rolling...
Comment #13
dwwComment #14
dwwcommitted to HEAD and installed on d.o. not backporting, since this is only really an issue for d.o.
Comment #15
(not verified) commentedComment #16
mr.baileysRegression? I had opened a new issue for this #362091: Broken links for "Subscribe"-module (searched for existing ones first but seem to have missed this one). In any case, this problem seems to re-occur on d.o.