thaond / smartshop-project

Automatically exported from code.google.com/p/smartshop-project
0 stars 1 forks source link

Service Parser.3 trả về vnd bị lỗi #14

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Request
http://localhost:8888/api/asd/parser-vatgia-each-product/?url=http://m.vatgia.co
m/438/699832/htc-hd2-htc-leo-100-t8585.html

Trả về một giá trị vnd ứng với company name = 
www.DienThoaiSaiGon.com: Chuyên 
iPhone-BlackBerry-HTC-LG-SonyEricsson-SamSung-No... (dienthoaisaigon)
là
9.490.000 VNĐ</span><div class=\"pro_price_width\"><span 
class=\"pro_v2_vat\">Có VAT</span> &nbsp; (+590.000 
VNĐ)</div></div><div><b>Chất lượng:</b> Mới - <b>Bảo hành:</b> 
18 Tháng</div><div class=\"pro_estore_information\"><b>Địa chỉ:</b> 545 
Minh Phụng, P.10, Q.11<br /><div><b>Điện thoại:</b> (08) 224 227 33<br 
/><a href=\"wtai://wp/mc;0822422733\">(08)22422733 - Call 
Me</a></div></div><div class=\"break_module\"></div><div 
class=\"pro_estore_name\">Đại Minh Mobile (daiminhmobile)</div><div 
class=\"pro_estore_price\"><span class=\"pro_price\">9.500.000 VNĐ"

Original issue reported on code.google.com by condorhe...@gmail.com on 7 Sep 2010 at 10:34

GoogleCodeExporter commented 9 years ago
Đã thay bằng NProductInfoService, mọi ng test thử xem sao

Original comment by aizi...@gmail.com on 7 Sep 2010 at 6:15

GoogleCodeExporter commented 9 years ago
Một bé bug này
http://localhost:8888/api/asd/parser-vatgia-each-product-n/?url=http://m.vatgia.
com/317/898560/thong_so_ky_thuat/toshiba-satellite-c640-1001u-psc02l-001001-inte
l-core-duo-p6000-1-86ghz-1gb-ram-250gb-hdd-vga-intel-gma-4500mhd-14-1-inch-pc-do
s.html

{"proMinPrice":"8.954.000 VNĐ","proRefPrice":"8.950.000 VNĐ ~ 10.500.000 
VNĐ","errCode":1,"message":"exception String index out of range: -1"}

Original comment by condorhe...@gmail.com on 13 Sep 2010 at 1:57

GoogleCodeExporter commented 9 years ago
Hiện tại trong list các đối tượng company trả về có comment = 
null.

Original comment by condorhe...@gmail.com on 13 Sep 2010 at 2:16

GoogleCodeExporter commented 9 years ago
Bổ sung thêm bug

http://localhost:8888/api/asd/parser-vatgia-each-product-n/?url=http://m.vatgia.
com/994/755640/thong_so_ky_thuat/dd%C4%91l-s%C3%BAp-th%E1%BB%8Bt-b%C3%AA-rau-t%E
1%BB%95ng-h%E1%BB%A3p-190g-b0102153.html

{"errCode":1,"message":"exception null"}

Original comment by condorhe...@gmail.com on 13 Sep 2010 at 2:21

GoogleCodeExporter commented 9 years ago
Đã fix comment 2 và 4, comment 3 thì tui thấy nó bình thường, ông 
test lại xem sao.

Original comment by aizi...@gmail.com on 13 Sep 2010 at 3:32

GoogleCodeExporter commented 9 years ago

Original comment by vo.mita.ov on 17 Sep 2010 at 4:20