prmr / Creco

Recommendation System for Consumer Products
Apache License 2.0
6 stars 2 forks source link

Bug in autocomplete #113

Closed enewe101 closed 10 years ago

enewe101 commented 10 years ago

The autocomplete displays JSON code instead of the expected display elements. To reproduce:

(Some discussion of this issue is on issue #99)

forgues commented 10 years ago

I haven't been able to reproduce this bug on my end. I tried the master branch with both Firefox and Chrome, with old and new data, and when I type "toa" I get usual suggestions like "toaster", "toaster oven", etc.

priyasidhaye commented 10 years ago

I ran it on the old data just now and I can't reproduce it either.

On Thu, Apr 17, 2014 at 3:44 PM, Gabriel Forgues notifications@github.comwrote:

I haven't been able to reproduce this bug on my end. I tried the master branch with both Firefox and Chrome, with old and new data, and when I type "toa" I get usual suggestions like "toaster", "toaster oven", etc.

— Reply to this email directly or view it on GitHubhttps://github.com/prmr/Creco/issues/113#issuecomment-40754569 .

nishanthtgwda commented 10 years ago

Ok now I am really confused, I installed firefox and I cant reproduce the bug in both chrome or in firefox. Is anyone around in the university who can show me the bug ? . Delete the local branch and repull. Or the javascript is being cached and the data is retrieved from the old JS. This is how the new JS should look like https://github.com/prmr/Creco/blob/master/src/main/webapp/js/autocomplete.js. Can someone with the bug, check the JS of the browser and let me know if it is because of the caching ?

enewe101 commented 10 years ago

Hey I'm actually just on my way to trottier so I can show you. are you still there? On Apr 17, 2014 4:40 PM, "nishanth1991" notifications@github.com wrote:

Ok now I am really confused, I installed firefox and I cant reproduce the bug in both chrome or in firefox. Is anyone around in the university who can show me the bug ? . Delete the local branch and repull. Or the javascript is being cached and the data is retrieved from the old JS. This is how the new JS should look like https://github.com/prmr/Creco/blob/master/src/main/webapp/js/autocomplete.js. Can someone with the bug, check the JS of the browser and let me know if it is because of the caching ?

— Reply to this email directly or view it on GitHubhttps://github.com/prmr/Creco/issues/113#issuecomment-40760059 .

nishanthtgwda commented 10 years ago

Yup, open area.

enewe101 commented 10 years ago

Ok, it looks like my browser was caching the JS sorry! @mangalagb try hitting refresh a few times and it should work.