Closed (fixed)
Project:
Signup Status
Version:
6.x-1.x-dev
Component:
Signup status mailer
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Sep 2009 at 17:41 UTC
Updated:
16 Oct 2009 at 22:50 UTC
Jump to comment: Most recent file
Comments
Comment #1
dwwHard to say, but I think the sanitized version of the status name is better than the numeric ID for this. A few folks in IRC agree, too. ;)
However, your patch only fixes this in 1 place, where we set the id, not where we link to that anchor. Please reroll approach #1 so that you fix both parts of signup_status_mailer.settings.inc.
Thanks!
-Derek
Comment #2
frjo commentedHere are a new version of patch 1 where signup_id_safe() is used both for the id and for the anchor.
I still think using the cid is a better solution. What happens if you name your status in Japanese? Will not signup_id_safe() strip out all the characters and replace them with multiple hyphens?
Include a new version of patch 2 also incase. This version sets the id and anchor to "status-settings-cid-[cid]".
Comment #3
dwwYeah, good point. ;) Upon closer consideration, I decided to go with the numeric IDs. However, http://drupal.org/files/issues/signup_status_mailer_id_safe_2_1.patch didn't apply cleanly. But, I just fixed the problems, tested, and committed to HEAD.
Thanks!
-Derek