[horde] sesha, using property dblookup

Ralf Lang lang at b1-systems.de
Fri Oct 26 11:42:50 UTC 2012


Am 26.10.2012 12:41, schrieb Uttiya Chowdhury:
> Hi all,
> I am trying to set a property type of dblookup in sesha.
> 
> * I have a table with one varchar column only
> * For DSN field, I have tried leaving it blank (hoping horde default will be used, or also phptype://uc:pa$$word@localhost/ces_net (uc is username, pa$$word is password, mysql server is on same machine as webserver, database name is ces_net)
> * But when I go to add new item, I get error:
> <code>
> Fatal error: Call to a member function selectValues() on a non-object in /mnt/ce/main/htdocs/horde/libs/Horde/Form/Type.php on line 3662
> </code>
> * For query, I am using: 
> <code>
> select column from table;
> </code>
> 
> Table is there, there is data in the table, and I have logged in as ces_net and checked that I can select from the table.
> 
> This is in sesha-1.0.0-git in horde 5.0.0-git.
> 
> Could you let me know if this is some bug/unimplemented feature, or am I am doing something wrong?

Currently have no test case for this. It looks like $db is not properly
injected into the form type's init function. I'd suggest creating a bug
report.

Does this happen in a mysql or postgresql setup?


-- 
Ralf Lang
Linux Consultant / Developer
Tel.: +49-170-6381563
Mail: lang at b1-systems.de

B1 Systems GmbH Osterfeldstraße 7 / 85088 Vohburg /
http://www.b1-systems.de
GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537


More information about the horde mailing list