bugphpGroupWare - Bugs: bug #2951, javascript error in...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #2951: javascript error in mail/addressbook when switched to javascript

Submitter:  None
Submitted:  Wed 26 Mar 2003 09:04:00 PM UTC
   
 
Category:  email Item Group:  0.9.14.002 release
Severity:  3 - Normal Priority:  5 - Normal
Status:  Fixed Privacy:  Public
Assigned to:  alexbsa Open/Closed:  Closed
Component Version:  None Operating System:  None
Reproducibility:  Every Time Planned Release:  None
Fixed Release: 

Fri 27 Jun 2003 02:32:45 AM UTC, comment #1: 

looks like missing SQL '
AND ((cat_id LIKE '%,) AND (owner=11 OR (access='public'
maybe , should be ' ?
any idea lex? or is this fixed?

Chris Weiss <cw>
Group administrator
Wed 26 Mar 2003 09:04:00 PM UTC, original submission:  

 When i'm switching to javascript-addressbook in my email preferences, i get the

> following error instead of an addressbook:
>
> ------------
> Database error: Invalid SQL: SELECT * FROM phpgw_addressbook WHERE ( UPPER(fn)
> LIKE UPPER('%%') OR UPPER(n_given) LIKE UPPER('%%') OR UPPER(n_family) LIKE UPPER
> ('%%') OR UPPER(n_middle) LIKE UPPER('%%') OR UPPER(n_prefix) LIKE UPPER('%%') OR
> UPPER(n_suffix) LIKE UPPER('%%') OR UPPER(sound) LIKE UPPER('%%') OR UPPER(bday)
> LIKE UPPER('%%') OR UPPER(note) LIKE UPPER('%%') OR UPPER(tz) LIKE UPPER('%%') OR
> UPPER(geo) LIKE UPPER('%%') OR UPPER(url) LIKE UPPER('%%') OR UPPER(pubkey) LIKE
> UPPER('%%') OR UPPER(org_name) LIKE UPPER('%%') OR UPPER(org_unit) LIKE UPPER('%
> %') OR UPPER(title) LIKE UPPER('%%') OR UPPER(adr_one_street) LIKE UPPER('%%') OR
> UPPER(adr_one_locality) LIKE UPPER('%%') OR UPPER(adr_one_region) LIKE UPPER('%%')
> OR UPPER(adr_one_postalcode) LIKE UPPER('%%') OR UPPER(adr_one_countryname) LIKE
> UPPER('%%') OR UPPER(adr_one_type) LIKE UPPER('%%') OR UPPER(label) LIKE UPPER('%
> %') OR UPPER(adr_two_street) LIKE UPPER('%%') OR UPPER(adr_two_locality) LIKE UPPER
> ('%%') OR UPPER(adr_two_region) LIKE UPPER('%%') OR UPPER(adr_two_postalcode) LIKE
> UPPER('%%') OR UPPER(adr_two_countryname) LIKE UPPER('%%') OR UPPER(adr_two_type)
> LIKE UPPER('%%') OR UPPER(tel_work) LIKE UPPER('%%') OR UPPER(tel_home) LIKE UPPER
> ('%%') OR UPPER(tel_voice) LIKE UPPER('%%') OR UPPER(tel_fax) LIKE UPPER('%%') OR
> UPPER(tel_msg) LIKE UPPER('%%') OR UPPER(tel_cell) LIKE UPPER('%%') OR UPPER
> (tel_pager) LIKE UPPER('%%') OR UPPER(tel_bbs) LIKE UPPER('%%') OR UPPER
> (tel_modem) LIKE UPPER('%%') OR UPPER(tel_car) LIKE UPPER('%%') OR UPPER(tel_isdn)
> LIKE UPPER('%%') OR UPPER(tel_video) LIKE UPPER('%%') OR UPPER(tel_prefer) LIKE
> UPPER('%%') OR UPPER(email) LIKE UPPER('%%') OR UPPER(email_type) LIKE UPPER('%%')
> OR UPPER(email_home) LIKE UPPER('%%') OR UPPER(email_home_type) LIKE UPPER('%%') )
> AND ((cat_id LIKE '%,) AND (owner=11 OR (access='public' AND owner in
> (1,12,11,15))) ORDER BY n_family,n_given,email ASC
> MySQL Error: 1064 (You have an error in your SQL syntax near 'public' AND owner in
> (1,12,11,15))) ORDER BY n_family,n_given,email ASC' at line 1)
>
> File: /srv/www/htdocs/phpgroupware/phpgwapi/inc/class.contacts_sql.inc.php
> Line: 496
> Session halted.
> ---------------
>
> I tested 2 clients (both winxp). Latest anglemail; phpgw
> 0.9.14.002


Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

 

Follow 4 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2004-04-23 alexbsa StatusNone Fixed
    Open/ClosedOpen Closed
2003-03-26 skwashd Item GroupNone None
    Assigned toNone None

Back to the top

Powered by Savane 3.13-3230.
Corresponding source code