[Vtigercrm-commits] [vtiger development] #4926: Getting Query failuer error In Reports Module
vtiger development
vtiger-tickets at trac.vtiger.com
Wed Jan 16 06:31:09 EST 2008
#4926: Getting Query failuer error In Reports Module
-----------------------+----------------------------------------------------
Reporter: liza | Owner: developer
Type: defect | Status: new
Priority: blocker | Milestone:
Component: vtigercrm | Version: 5.0.4-rc
Keywords: |
-----------------------+----------------------------------------------------
How To Reproduce:
1) Create a Checkbox custom field for Products module with labelname like
'üßÄÖÜ'.
2)Now create a report for products and select that customfield.
3)now If you try to see the report you can see the following failed
query(Kindly enable the $dieOnError in include/database/PearDatabase.php
file)
Query Failed:select case when (vtiger_productcf.cf_456='1')then 'yes' else
'no' end as Products_üßÄÖÜ, case when (vtiger_productcf.cf_458='1')then
'yes' else 'no' end as Products_test_checkbox,
vtiger_products.sales_start_date AS "Products_Sales_Start_Date",
vtiger_products.sales_end_date AS "Products_Sales_End_Date",
vtiger_products.start_date AS "Products_Support_Start_Date",
vtiger_products.expiry_date AS "Products_Support_Expiry_Date",
vtiger_products.website AS "Products_Website", vtiger_vendorRel.vendorname
AS "Products_Vendor_Name", vtiger_products.mfr_part_no AS
"Products_Mfr_PartNo", vtiger_products.vendor_part_no AS
"Products_Vendor_PartNo", vtiger_products.serialno AS
"Products_Serial_No", vtiger_products.productsheet AS
"Products_Product_Sheet", vtiger_products.productname AS
"Products_Product_Name", vtiger_products.productcode AS
"Products_Part_Number", case when (vtiger_products.discontinued='1')then
'yes' else 'no' end as Products_Product_Active,
vtiger_products.manufacturer AS "Products_Manufacturer",
vtiger_products.productcategory AS "Products_Product_Category" from
vtiger_products inner join vtiger_crmentity on
vtiger_crmentity.crmid=vtiger_products.productid left join
vtiger_productcf on vtiger_products.productid = vtiger_productcf.productid
left join vtiger_users as vtiger_usersProducts on vtiger_usersProducts.id
= vtiger_products.handler left join vtiger_vendor as vtiger_vendorRel on
vtiger_vendorRel.vendorid = vtiger_products.vendor_id left join
vtiger_seproductsrel on vtiger_seproductsrel.productid=
vtiger_products.productid and vtiger_seproductsrel.setype='' where
vtiger_crmentity.deleted=0
--
Ticket URL: <http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/4926>
vtiger development <http://trac.vtiger.com/>
vtigerCRM
More information about the vtigercrm-commits
mailing list