Forms try to submit when logging in...
Reported by Jason Brower | May 9th, 2009 @ 05:51 PM | in 0.5
While checking if I could add an extraa account, I noticed that when I fill out the form incorrectly, to raise an error, and then click on login and login. It asks if I want to resend my data on the reload, which I didn't do. It works properly at that point, but it does still try to create the account again.
Comments and changes to this ticket
-
Matias Korhonen May 9th, 2009 @ 08:06 PM
- Milestone changed from 0.5 to 0.5.5 (Bug fix galore)
This is a limitation of JavaScript. In order to reload the page with all the parts which are specific to logged in users the page has to be refreshed.
I tried a couple of workarounds, but I couldn't get them to work.
-
Matias Korhonen May 10th, 2009 @ 10:26 PM
- Assigned user set to Joao Carlos
-
Matias Korhonen May 28th, 2009 @ 12:31 AM
Right. I just wasted another half hour trying to get this to work.
And no, JS doesn't seem to be able to load the same page without submitting the form again.
-
Joao Carlos May 30th, 2009 @ 12:34 PM
- Milestone changed from 0.5.5 (Bug fix galore) to 0.5
I have a simple solution for this: getting rid of jQuery UI for the frontend. Besides, it has a lot of invalid CSS and adds 188 KiB of javascript.
-
Joao Carlos May 30th, 2009 @ 12:35 PM
I will figure out a clean solution to redirect back to the previous page.
-
Matias Korhonen June 10th, 2009 @ 01:17 AM
- State changed from new to open
(from [11e90f9016ad31da775d453acc4caa721044fd5f]) Replaced jQuery UI login with normal XHTML. [#105 state:open] http://github.com/k33l0r/hhlc/commit/11e90f9016ad31da775d453acc4caa...
-
Matias Korhonen June 15th, 2009 @ 01:16 AM
(from [e593e6d32262317748dc1a994a98e3c511f7d201]) Implemented JS for the login box hints [#105] http://github.com/k33l0r/hhlc/commit/e593e6d32262317748dc1a994a98e3...
-
Matias Korhonen June 15th, 2009 @ 01:16 AM
(from [203fd77278a34d6570013951ae8a4ebcd3469d7c]) Limit login hints to the user links [#105] http://github.com/k33l0r/hhlc/commit/203fd77278a34d6570013951ae8a4e...
-
Matias Korhonen June 15th, 2009 @ 01:16 AM
(from [c2e84157ce0e892bd4207240e7d71c0d19e2a211]) Don't show the top login form if the controller is the users controller, a rough way of limiting the login forms to just one. [#105]
http://github.com/k33l0r/hhlc/commit/c2e84157ce0e892bd4207240e7d71c... -
Matias Korhonen June 15th, 2009 @ 01:16 AM
- Assigned user changed from Joao Carlos to Matias Korhonen
- State changed from open to testing
-
Matias Korhonen June 15th, 2009 @ 08:07 PM
(from [c0007d5008f6b5f3e52e9a0a95cadcb3881b881b]) Cleanup after removing JS logins [#105] http://github.com/k33l0r/hhlc/commit/c0007d5008f6b5f3e52e9a0a95cadc...
-
Matias Korhonen May 9th, 2009 @ 05:51 PM
(from [1fd528cff66da6d0f30ea6830d691094e81d3983]) Removed unnecessary local variables [#105] http://github.com/k33l0r/hhlc/commit/1fd528cff66da6d0f30ea6830d6910...
-
Matias Korhonen June 18th, 2009 @ 12:05 AM
Question: Should we use the solution we have on the current HEAD at this time (since about commit 11e90f9016ad31da775d453acc4caa721044fd5f ), or just use a separate login page, with redirection to the page from which the link was clicked?
Personally, I'm starting to lean towards the login link (a much cleaner solution...)
-
Matias Korhonen June 29th, 2009 @ 05:55 PM
(from [9b8b481495f86eb72db4ac4b89e3d16a018eff5d]) A hacked up solution to redirect the user to the correct page after login/logout. This still needs work (I'm not sure if this is the
correct/safe way of implementing this...) [#105]
http://github.com/k33l0r/hhlc/commit/9b8b481495f86eb72db4ac4b89e3d1... -
Matias Korhonen June 30th, 2009 @ 02:10 PM
- State changed from testing to resolved
Forms no longer submit when logging in., Any further issues should be handled in fresh tickets.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Ruby on Rails web application for the HAAGA-HELIA Linux Club.
People watching this ticket
Referenced by
- 105 Forms try to submit when logging in... (from [11e90f9016ad31da775d453acc4caa721044fd5f]) Replace...
- 105 Forms try to submit when logging in... (from [c958617c457603ccedd203d3e6ce31ea4c4a46d4]) Removed...
- 105 Forms try to submit when logging in... (from [e593e6d32262317748dc1a994a98e3c511f7d201]) Impleme...
- 105 Forms try to submit when logging in... (from [203fd77278a34d6570013951ae8a4ebcd3469d7c]) Limit l...
- 105 Forms try to submit when logging in... (from [c2e84157ce0e892bd4207240e7d71c0d19e2a211]) Don't s...
- 105 Forms try to submit when logging in... (from [c0007d5008f6b5f3e52e9a0a95cadcb3881b881b]) Cleanup...
- 105 Forms try to submit when logging in... (from [0b4957e2e2e5a04f96da3621d33b4342461fbcf2]) Changed...
- 105 Forms try to submit when logging in... (from [1fd528cff66da6d0f30ea6830d691094e81d3983]) Removed...
- 105 Forms try to submit when logging in... (from [a6a4470d65c973f36a7f54554355a1c6052a374a]) Added t...
- 105 Forms try to submit when logging in... (from [4c699cb537cfd1271816bc0ddc34a715349c23f8]) Added m...
- 105 Forms try to submit when logging in... (from [9b8b481495f86eb72db4ac4b89e3d16a018eff5d]) A hacke...