Open jerry914 opened 2 days ago
@jerry914 Sorry, but I can't reproduce the issue by clicking on the link inside of the Upstart team sheet. Could you please provide more information on how to reproduce the 500 error?
The main branch deployment hasn't been changed since 11/15:
Oh, thanks for the question. I think the problem is using Chinese for searches; when I use English, the problem is resolved. e.g.: https://soa04-leaf-d708d21ee0ae.herokuapp.com/locations/%E6%96%B0%E7%AB%B9
I would suggest adding error checking to prevent this kind of thing happen.
In addition, I just realized that there is no search history based on the session for the user. Did you implement that yet on the front-end page?
Oh, thanks for the question. I think the problem is using Chinese for searches; when I use English, the problem is resolved. e.g.: https://soa04-leaf-d708d21ee0ae.herokuapp.com/locations/%E6%96%B0%E7%AB%B9
I would suggest adding error checking to prevent this kind of thing happen.
In addition, I just realized that there is no search history based on the session for the user. Did you implement that yet on the front-end page?
Not quite, we haven't yet got the time nor energy to do so.
We're planning to add the session feature on the home page though, but I'm still thinking how the UI should be designed such that it would make the most sense with the current flow.
Oh, thanks for the question. I think the problem is using Chinese for searches; when I use English, the problem is resolved.
@jerry914 #103 fixed the 500 error caused by Chinese character input, and the patch has now reached the main branch.
in Rakefile
)plugin :sessions, secret: App.config.SESSION_SECRET
toenviroment.rb
for for improved configuration management.Add error-checking to your routes
Refactor your views