Closed (fixed)
Project:
Support Ticketing System
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
2 Sep 2011 at 03:25 UTC
Updated:
7 Oct 2011 at 17:21 UTC
Jump to comment: Most recent file
Comments
Comment #1
jeremy commentedSure, sounds like a simple enough patch...
Comment #2
ergonlogicCool, so here's a first pass patch. I've taken the liberty of refactoring support_admin_client_submit() to use a merge query, which avoids erroneous "update" messages.
Alternatively, feel free to cherrypick individual commits from: http://drupalcode.org/sandbox/ergonlogic/1269174.git/shortlog/refs/heads..., if you prefer.
Comment #3
jeremy commentedThanks, I'll take a look at merging this after 6.x-1.5 is released (as I'm only intending to include bugfixes over the current rc1), hopefully tomorrow.
Comment #4
jeremy commentedLooking at the patch quickly, I'm not seeing much benefit from this. Is your intention to be calling these functions directly in your own workflow?
It would be preferable to pass a single object or array that contains all necessary fields, rather than an obscenely long parameter string. It would also make sense to define pre and post execution hooks for each activity. While I'm not opposed to the idea, it's still not fully clear to me what will be gained.
Comment #5
jeremy commentedCompletely rewritten and committed in 6.x:
http://drupalcode.org/project/support.git/commit/3bf39a7
Comment #6
ergonlogicWell, there's a morning wasted... oh well. Interesting to see how you implemented it. I didn't even know drupal_alter() existed.
Comment #7
bdragon commentedRethought on Drupal 7.
I implemented Entity support for support clients.
Implementation:
http://drupalcode.org/project/support.git/commit/9aebab39a87826ad818b0e1...
Merge of 6.x commit (Changelog only):
http://drupalcode.org/project/support.git/commit/70180e9f8e4bbdac8441fe8...