-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Controller is not reloaded when active_reload is false with custom routes so controller values has what was requested on previous request. #109
Comments
From i...@polevoy.org on July 16, 2012 04:08:39 |
From ezio.fer...@gmail.com on July 16, 2012 05:10:16 |
From i...@polevoy.org on July 16, 2012 06:31:22 |
From ezio.fer...@gmail.com on July 16, 2012 06:43:35 protected Route recognize(String uri, HttpMethod httpMethod) throws ClassLoadException {
private Route matchCustom(String uri, HttpMethod httpMethod) throws ClassLoadException {
On match custom you are reusing the same route object instance (and using the same controller object associated with this route instance) on every request instead of creating a new route (like on matchRestful and matchStandard). You should add route.getController().values().clear() before returning the route. |
From ipolevoy@gmail.com on July 16, 2012 15:13:43 |
From ipolevoy@gmail.com on July 17, 2012 01:29:55 |
From ezio.fer...@gmail.com on July 17, 2012 01:31:28 |
From ipolevoy@gmail.com on July 17, 2012 01:38:46 |
From ipolevoy@gmail.com on July 17, 2012 04:19:24 |
From ipolevoy@gmail.com on July 17, 2012 04:20:23 |
From ezio.fer...@gmail.com on July 17, 2012 04:47:14 |
Original author: ezio.fer...@gmail.com (July 14, 2012 01:38:03)
What steps will reproduce the problem?
What is the expected output? What do you see instead?
Expected -> true
I see -> false
What version of the product are you using? On what operating system?
Please provide any additional information below.
Original issue: http://code.google.com/p/activeweb/issues/detail?id=109
The text was updated successfully, but these errors were encountered: