I’m facing a very weird bug… i have to report it!
i have an app with a search screen
when you type in the search box, the program passes a search query to a webservice
everything is working perfectly and smoothly
i have one item in the database written exactly as follows
BALADNA YELLOW CHEESE 450 GM
When you search for this item using any word except for the word BALADNA … the item is returned
whether you are using SQL directly, or using the webservice directly, or using corona through network.request
if you search for the word BALADNA directly from SQL it is working
if you search for the word BALADNA directly from the webservice it is working
if you search for the word BALADNA directly from app which calls the same webservice it is not working
no special or hidden characters … i did notepad typing to make sure … and after all the same item or any other item is returned through corona … and if i search for this item from corona using the word yellow it is working but if i search for BALADNA it is not (lower case upper case … nothing is working)
This is the webservice
http://onestopshop-001-site1.atempurl.com/webservice1.asmx?op=GeneralSQL
if you type this in the webservice it will work
SELECT Top 50 Cat_ID,Item_ID,Item_NameA As Item_Name,Unit_Price FROM ItemsV Where Item_NameA Is Not Null And (Item_NameA Like ‘%yellow%b%’ Or Item_NameE Like ‘%yellow%b%’) Order By Item_NameA23655485478
call it from corona it will work!!! with this event.response
<?xml version=“1.0” encoding=“utf-8”?>
<string xmlns=“http://tempuri.org/”>[{“Cat_ID”:“72”,“Item_ID”:“10”,“Item_Name”:“YELLOW CHEESE 450 GM Baladna”,“Unit_Price”:“2.5”}]</string>
if you type this … it will also work
SELECT Top 50 Cat_ID,Item_ID,Item_NameA As Item_Name,Unit_Price FROM ItemsV Where Item_NameA Is Not Null And (Item_NameA Like ‘%BALADNA%’ Or Item_NameE Like ‘%BALADNA%’) Order By Item_NameA23655485478
call it from corona it will not work!!! with this event.response
<?xml version=“1.0” encoding=“utf-8”?>
<string xmlns="[http://tempuri.org/"></string>
i have done tons of sql database apps and systems … i never faced anything like this
Very Important Note:
Seems this is officially a bug!!
I just tried this in another app i made (https://play.google.com/store/apps/details?id=com.gmail.Fruits.MyAds) … i entered an Ad with the word baladna as the subject and the body of the Ad… it is there … when searched for it … it is not appearing although searching for anything else is working