Needs work
Project:
Permalink
Version:
6.x-1.6
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
21 Dec 2010 at 01:33 UTC
Updated:
8 Dec 2011 at 17:03 UTC
Jump to comment: Most recent file
Please, find attached a patch to resolve a bug (probably a cut/paste from D7) on comment mode type detection.
Please review.
| Comment | File | Size | Author |
|---|---|---|---|
| #10 | permalink.get_display_ordinal.patch | 1.26 KB | paolomainardi |
| #9 | permalink.get_display_ordinal.patch | 2.89 KB | paolomainardi |
| permalink.get_display_ordinal.patch | 1.63 KB | paolomainardi |
Comments
Comment #1
paolomainardi commentedAny chance to get this reviewed ?
Comment #2
paolomainardi commentedAnyone is using comment redirecting please be warned that there are some errors on backporting that not permits to redirect well, use this patch if you have some problems.
Comment #3
todd nienkerk commentedThanks for the patch. I'll review it shortly.
Quick question:
Do you mean D5?
Comment #4
todd nienkerk commentedComment #5
paolomainardi commentedDear Todd,
No i mean D7, if i'm not wrong this functinos are backported by D7 right ? Because they are really similar.
Comment #6
todd nienkerk commentedpaolomainardi: You're absolutely right. D5 and D6 use COMMENT_MODE values of 1-4; D7 uses 0-1. This looks like a good fix.
Would you mind re-rolling the patch without the debugging code added? (See the first group of changes in the patch you submitted.)
Comment #7
todd nienkerk commentedComment #8
paolomainardi commentedTodd, yes, i'll send you the patch as soon as possible later in the day.
Thanks.
Comment #9
paolomainardi commentedUpdated patch without debug code.
Comment #10
paolomainardi commentedSorry, in attachment the correct one.
Comment #11
todd nienkerk commentedI've committed this patch to the dev branch. Can you help review it?
Comment #12
paolomainardi commentedDear Todd, yes, give some days and i'll give you my results.
Thanks a lot to commit.
Comment #13
paolomainardi commentedDear Todd, do you still need help to review this patch ?
Comment #14
JoeMcGuire commentedLooks good fixed permalinks for flat list comments.
#10 Logic is working - might consider using the constants
to be
Patches should also be made from the modules root rather than drupals. Nice work.
Changed to critical as this module is on sites using flat lists and those permalinks are broken.