Closed (fixed)
Project:
Case Tracker
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
20 Feb 2009 at 13:01 UTC
Updated:
21 Mar 2009 at 15:53 UTC
Jump to comment: Most recent file
Hi all,
We're trying to port the casetracker_mail to Drupal 6. We hope to roll out a patch the next week or so.
Regards.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | casetracker_mail.patch | 18.26 KB | eclipsegc |
| #1 | ct_mail-d6.patch | 11.56 KB | imobachgs |
Comments
Comment #1
imobachgs commentedI attach a patch that allows to use casetracker_mail with Drupal 6. The major change is that the module use now the hook_mail() facility. Some minor fixes and some refactoring (to acomodate hook_mail()) have been also performed.
I guess that mailhandler integration is broken. I hope I can devote some time in a week or two. However, if anybody wants to fix it... go ahead :)
As usual, feedback is welcome!
PS: the code is not as clean as I'd like, so feel free to improve it :)
Comment #2
piotrsmykaj commenteddont work with latest dev, on submit case print some email and its all. Case are added but mail not sended.
Comment #3
imobachgs commentedOk, thanks for the feedback. I'll fix it this week.
Comment #4
jmiccolis commentedFYI I've just made small change to the case state load functions, which I'm certain will effect mail functionality. Basically the two arguments in casetracker_case_state_load() have been reversed - sounds trivial, I know, but it allowed me to use that function as a loader in hook menu.
Comment #5
eclipsegc commentedI had a working version of this for my own casetracker port. I've rerolled that against dev.
This patch is dependent upon #398458: Inconsistent $node->casetracker handling.
Eclipse
Comment #6
eclipsegc commentedstatus change
Comment #7
eclipsegc commentedComment #8
jmiccolis commentedHi All
I've committed (basically) the patch from #5 as it seemed to be more complete. Thanks to everybody for their help!
Before I close this ticket I'd really love for somebody to run casetracker_mail through it's paces... @osoh or @teszek could one or both of you verify that things are working as expected?
Comment #9
luco commentedI didn't get it. so is this already commited to DEV?
I tried to set up email integration but was a total fail.
cheers,
Luciano
Comment #10
jmiccolis commentedSorry for the confusion. Yes this has been commited to head. I'm setting this ticket to closed. However I'd still love for people to help me test, so if you find issues please open new tickets for them.