Greetings!
First of all, Epesi is awesome!
Thank you for this wonderful software...
This is Epesi 1.6.1 on 64 bit CentOS php 5.4
I'm getting strange errors in the Premium/Projects module.
When creating a record, the project manager field can be set, but editing it to any other person returns an empty field on saving, and it can't be set back to the previous value.
Also, when I attempt to edit the Project Manager field in the record browser window (from epesi, not through the database) I get an error. I tried to set the field so that users could set people other than company employees to be project managers. (I'm providing this to a religious community so this is a very non-standard usage of the Projects module).
Here are the settings in the record browser window:
Source: Record Set
Recordset: Contacts (contact)
Related field(s): Last Name, First Name
Crits callback: CRM_ContactsCommon::contact_format_no_company
Here are the errors that I get when trying to edit the Project Manager field in the record browser window:
Type: E_USER_ERROR (256)
Message: RecordBrowser critical failure, terminating. (Requested a:1:{i:0;s:7:"contact";}, available Array ( [company] => 1 [contact] => 1 [crm_meeting] => 1 [phonecall] => 1 [premium_multiple_addresses] => 1 [premium_projects] => 1 [premium_salesopportunity] => 1 [premium_tickets] => 1 [rc_accounts] => 1 [rc_mail_threads] => 1 [rc_mails] => 1 [rc_mails_assoc] => 1 [rc_multiple_emails] => 1 [task] => 1 [utils_attachment] => 1 ) )
File: /home/srs/modules/Utils/RecordBrowser/RecordBrowserCommon_0.php
Line=277
error backtrace:
[PHP core called function]
function called: handle_epesi_error(256, "RecordBrowser critical failure, terminating. (Requested a:1:{i:0;s:7:\"contact\";}, available Array ( [company] => 1 [contact] => 1 [crm_meeting] => 1 [phonecall] => 1 [premium_multiple_addresses] => 1 [premium_projects] => 1 [premium_salesopportunity] => 1 [premium_tickets] => 1 [rc_accounts] => 1 [rc_mail_threads] => 1 [rc_mails] => 1 [rc_mails_assoc] => 1 [rc_multiple_emails] => 1 [task] => 1 [utils_attachment] => 1 ) )", "/home/srs/modules/Utils/RecordBrowser/RecordBrowserCommon_0.php", 277, Array (Array (#1), false, true, Array (#15), "Illegal offset type in isset or empty"))
File: /home/srs/modules/Utils/RecordBrowser/RecordBrowserCommon_0.php
line 277
function called: trigger_error("RecordBrowser critical failure, terminating. (Requested a:1:{i:0;s:7:\"contact\";}, available Array ( [company] => 1 [contact] => 1 [crm_meeting] => 1 [phonecall] => 1 [premium_multiple_addresses] => 1 [premium_projects] => 1 [premium_salesopportunity] => 1 [premium_tickets] => 1 [rc_accounts] => 1 [rc_mail_threads] => 1 [rc_mails] => 1 [rc_mails_assoc] => 1 [rc_multiple_emails] => 1 [task] => 1 [utils_attachment] => 1 ) )", 256)
File: /home/srs/modules/Utils/RecordBrowser/RecordBrowser_0.php
line 2337
function called: check_table_name(Array ("contact"))
File: /home/srs/modules/Utils/RecordBrowser/RecordBrowser_0.php
line 2318
function called: detranslate_field_names(Array ("contact"), "Last Name,First Name")
[PHP core called function]
function called: check_field_definitions(Array (#15), Array ())
File: /home/srs/modules/Libs/QuickForm/3.2.11/HTML/QuickForm.php
line 1586
function called: call_user_func(Array (Object (Utils_RecordBrowser), "check_field_definitions"), Array (#15), Array ())
[PHP core called function]
function called: validate()
File: /home/srs/modules/Libs/QuickForm/QuickForm_0.php
line 82
function called: call_user_func_array(Array (Object (HTML_QuickForm), "validate"), Array ())
File: /home/srs/modules/Utils/RecordBrowser/RecordBrowser_0.php
line 2143
function called: __call("validate", Array ())
File: /home/srs/modules/Utils/RecordBrowser/RecordBrowser_0.php
line 2143
function called: validate()
[PHP core called function]
function called: view_field("edit", "Project Manager")
File: /home/srs/include/module.php
line 782
function called: call_user_func_array(Array (Object (Utils_RecordBrowser), "view_field"), Array ("edit", "Project Manager"))
File: /home/srs/include/module.php
line 713
function called: get_html_of_module("Object (Utils_RecordBrowser)", null, "admin")
File: /home/srs/include/module.php
line 886
function called: display_module("\"Object (Utils_RecordBrowser)\"", null, "admin")
File: /home/srs/modules/Base/Admin/Admin_0.php
line 31
function called: pack_module("Utils_RecordBrowser", null, "admin")
[PHP core called function]
function called: body()
File: /home/srs/include/module.php
line 793
function called: call_user_func_array(Array (Object (Base_Admin), "body"), Array ())
File: /home/srs/include/module.php
line 713
function called: get_html_of_module(Object (Base_Admin), null, null)
File: /home/srs/modules/Base/Box/Box_0.php
line 146
function called: display_module("Object (Base_Admin)")
File: /home/srs/include/epesi.php
line 241
function called: body()
File: /home/srs/include/epesi.php
line 286
function called: go(Object (Base_Box))
File: /home/srs/process.php
line 35
function called: process("_qf__libs_qf_ff46833dd5afc4c82015c02cea3100c1=&submited=1&field=Project%20Manager&select_data_type=select&text_length=&minute_increment=1&data_source=rset&select_type=select&order_by=key&commondata_table=&label_field=Last%20Name%2CFirst%20Name&visible=1&filter=1&autonumber_prefix=&autonumber_pad_length=&autonumber_pad_mask=&display_callback=CRM_ContactsCommon%3A%3Adisplay_company_contact&QFfield_callback=CRM_ContactsCommon%3A%3AQFfield_company_contact&__action_module__=%2FBase_Box%7C0%2FBase_Admin%7Cmain_0%2FUtils_RecordBrowser%7C0", "")