Closed (fixed)
Project:
Support Ticketing System
Version:
7.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Reporter:
Created:
31 Dec 2011 at 09:39 UTC
Updated:
21 Apr 2012 at 03:11 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
ssenator commentedassigning to self
Comment #2
otaci.martins commentedSame with me.
Repeatable: always
Steps to repeat:
1. Click "post new support ticket";
2. Fill the fields (title, ticket properties and body) normally;
3. Click "save" button;
4. And this message appears:
Expected results:
A new ticket created without this notice.
Actual results:
Fail to create a new ticket.
My specs:
Fedora 12 (2.6.31.5-127.fc12.i686 #1 SMP i686 i686 i386 GNU/Linux)
PostgreSQL 8.4.2
Apache 2.2.15
PHP 5.3.3
PHP error_reporting = E_ALL
Drupal 7.10
Last error from the Apache error log:
none after or related to actions described above
Comment #3
jrotondo commentedThis error is still occurring in the latest builds for Support Ticket and Drupal 7 core.
Comment #4
Anonymous (not verified) commented@Jeremy: A little fix for this. Please commit? Thx
Comment #5
Anonymous (not verified) commentedComment #6
jrotondo commentedPatch in #4 works for me.
Comment #7
jeremy commentedI'm unable to duplicate. I'm testing with Drupal 7.12 and support-7.x-1.x-dev. Creating a support ticket works fine.
Have you first created a Client, per the documentation?
Comment #8
jeremy commentedPerhaps related to #1319298: Missing client attribute for node used in _support_mail_notify().
Comment #9
Anonymous (not verified) commented@Jeremy: My patch on #4 was just by looking at the code, and enrusing the funcion ALWAYS defining $client first, and ALWAYS returning it (I've not tested the code, just patched to clear the given php Notice.
Comment #10
jeremy commentedFigured out how to duplicate it; create 2+ clients and unset the support_client _SESSION variable.
Fix committed:
http://drupalcode.org/project/support.git/commit/ea9a4f1