Closed (fixed)
Project:
Project issue tracking
Version:
5.x-2.x-dev
Component:
Miscellaneous
Priority:
Critical
Category:
Task
Assigned:
Reporter:
Created:
18 Dec 2006 at 09:04 UTC
Updated:
29 Jan 2007 at 08:48 UTC
Jump to comment: Most recent file
Comments
Comment #1
dwwi just committed http://drupal.org/cvs?commit=48364
please use HEAD, not DRUPAL-4-7--2.
thanks!
-derek
Comment #2
AjK commentedOK, ran into a problem. Basically, while doing this, I "test as I go" to make sure each bit does what I expect it to. When it came to submitting an issue, the "select a project" select box was empty (no projects). I remember from actually doing projects on d.o that you have to enable the issue tracker for your project. So off I went to find the part where that's done so I could switch it on for my test projects. That's when it started to get real messy!
I expected project_issue to hook into project's project edit form via hook_form_alter(). Nope, project_issue doesn't implement the hook. So, I then guessed well maybe project actively looks for project_issue being installed. And it appears that's how it worked in some fashion. So I started to follow through the port I did for project. And that's where I ran into a tough one. Initially, I couldn't find it. So I went back to d.o to look at some project pages to give me to fixed text to search the code on (form element titles). That's when I see, to my horror, project now "tabs" the edit page, "project", "issues" and "releases". Bummer, my port is void of this completely. So I suspect my port of project is duff. I had thought dww had merged 4-7--2 to head, seems I was wrong and he only just did it (my port of project I did last night was against head).
So I reach the end of my session on this port basically with a half broken project_issue module and what appears to be a duff project port too :(
Comment #3
dwwFYI: i started this port, and ended up committing http://drupal.org/node/78621 and http://drupal.org/node/75595 already, since i needed to commit something to test another issue with the xcvs-scripts (http://drupal.org/node/104217) and those seemed like as good as any. ;) i've finally gotten the /admin/project block sorted out (http://drupal.org/node/101150#comment-168825) so that's where the project_issue settings page should go. i'll keep hacking on this for another hour or so, see how far i get, and post an initial patch.
Comment #4
dwwit's far from done, but it's a lot of the way there. ;)
TODO:
everything else from http://drupal.org/node/64279 is either done (links, hook_settings, hook_menu, lots of t(), $_POST['edit'], fixing the CSS, menu capitalization, etc, etc) or verified that they don't effect us here, and i made some decent progress on the FAPI-pull conversion already.
Comment #5
dwwfinished:
TODO:
Comment #6
dwwok, this should be everything. needs review and testing, but so far, i've finished everything on http://drupal.org/node/64279 and all TODO items from previous comments. furthermore, i fixed some bugs in places that i think are broken in 4.7.x, too, but i'll backport those separately. also, this version has an even better backwards compatibility menu item for "node/add/project_issue" that understands 2 layers of args (project name or nid, and issue category (bug vs. feature, etc)). finished the conversion for t() placeholders, all FAPI stuff, preview bugs (turns out to be a bug in core http://drupal.org/node/104729), confirm_form() conversion, drupal_mail(), etc, etc.
Comment #7
dwwafter committing #104484 to HEAD, the old patch didn't apply cleanly anymore.
Comment #8
dwwcommitted to HEAD and installed on s.d.o (to make it easier for others to test).
i'm still leaving this issue as "needs review", since i'd appreciate more reviews and testing...
thanks,
-derek
Comment #9
bdragon commentedmail.inc doesn't use the drupal_mail function properly... This is causing really odd issue emails.
Here's a !visually inspected only -- not yet tested! patch.
Comment #10
bdragon commentedResaved patch in unix format at killes' request.
Comment #11
killes@www.drop.org commentedtested on s.c.o, seems to work. Applied locally to d.o..
Comment #12
dwwit's obviously been working fine on d.o. reviewed carefully and committed to HEAD.
i'm going to give up on people reviewing these porting patches, so i'm going to mark them as fixed now.
Comment #13
(not verified) commented