6.0.0-beta1
7/18/25

[#12849] Sesha crash on 'client'-type property.
Summary Sesha crash on 'client'-type property.
Queue Sesha
Queue Version 1.0.0RC3
Type Bug
State Resolved
Priority 2. Medium
Owners ralf.lang (at) ralf-lang (dot) de
Requester joern.mankiewicz (at) gmx (dot) de
Created 11/20/2013 (4258 days ago)
Due
Updated 02/02/2016 (3454 days ago)
Assigned 11/20/2013 (4258 days ago)
Resolved 02/02/2016 (3454 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
02/02/2016 09:45:01 AM Jan Schneider State ⇒ Resolved
 
08/21/2014 02:36:44 PM joern (dot) mankiewicz (at) gmx (dot) de Comment #6 Reply to this comment
Issued pull-request on github for the partial solution up to comment #5.
11/20/2013 07:42:54 PM Michael Rubinsky Assigned to Ralf Lang
State ⇒ Assigned
 
11/20/2013 07:05:12 PM joern (dot) mankiewicz (at) gmx (dot) de Comment #5 Reply to this comment
So, now there ist still an red error-popup saying that the fieldtype 
Sesha:Client is unknown. But it is working now. Mh.....
11/20/2013 05:54:52 PM joern (dot) mankiewicz (at) gmx (dot) de Comment #4 Reply to this comment
I meant:

$conf['datatypes']['types'] = array('int', 'text', 'boolean', 
'creditcard', 'cellphone', 'Sesha:Client', 'date', 'dblookup', 
'description', 'email', 'enum', 'file', 'header', 'hourminutesecond', 
'html', 'image', 'intlist', 'ipaddress', 'link', 'longtext', 'matrix', 
'mlenum', 'monthdayyear', 'monthyear', 'multienum', 'number', 
'obrowser', 'octal', 'password', 'radio', 'set', 'time');


11/20/2013 05:53:10 PM joern (dot) mankiewicz (at) gmx (dot) de Comment #3 Reply to this comment
Got it. Seems, that the name of the renderer-function was chosen wrong. Patch:

--- sesha/lib/Ui/VarRenderer/Stockedit_Html.php.orig    2013-11-20 
18:19:13.929186752 +0100
+++ sesha/lib/Ui/VarRenderer/Stockedit_Html.php 2013-11-20 
18:36:21.933186752 +0100
@@ -10,7 +10,7 @@
   */
  class Horde_Core_UI_VarRenderer_Stockedit_Html extends 
Horde_Core_Ui_VarRenderer_Html {

-    protected function _renderVarInput_client($form, $var, $vars)
+    protected function _renderVarInput_sesha_form_type_client($form, 
$var, $vars)
      {
          return $this->_renderVarInput_enum($form, $var, $vars);
      }
11/20/2013 05:08:46 PM joern (dot) mankiewicz (at) gmx (dot) de Comment #2 Reply to this comment
The crash can be resolved by replacing "client" with "Sesha:Client" 
(case sensitive!!) in $conf[datatypes][types].

So the installation default should be:

$conf[datatypes][types] = 'int, text, boolean, creditcard, cellphone, 
Sesha:Client, date, dblookup, description, email, enum, file, header, 
hourminutesecond, html, image, intlist, ipaddress, link, longtext, 
matrix, mlenum, monthdayyear, monthyear, multienum, number, obrowser, 
octal, password, radio, set, time'

Still Sesha gives the error: "Warning: Unknown variable type 
sesha_form_type_client".
So the field ist not editable. Still trying to figure this out...
11/20/2013 04:44:35 PM joern (dot) mankiewicz (at) gmx (dot) de Comment #1
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ Sesha crash on 'client'-type property.
Queue ⇒ Sesha
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
Reply to this comment
When assigning a property of type "client" (as given in the 
default-installation) Sesha will crash when trying to add/edit any 
items with:

"Nonexistant class "Horde_Form_Type_client" for field type "client"

1. Sesha_Form_Stock->__construct() /var/www/horde/sesha/stock.php:45
2. Horde_Form->addVariable() /var/www/horde/sesha/lib/Form/Stock.php:94
3. Horde_Form->insertVariableBefore() /usr/share/php/Horde/Form.php:222
4. Horde_Form->getType() /usr/share/php/Horde/Form.php:232"

Saved Queries