Forms try to submit when logging in...
Reported by Jason Brower | 2009-05-09 17:51:38 UTC | 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 2009-05-09 20:06:43 UTC
- 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 2009-05-10 22:26:47 UTC
- Assigned user set to Joao Carlos
-

Matias Korhonen 2009-05-28 00:31:44 UTC
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 2009-05-30 12:34:32 UTC
- 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 2009-05-30 12:35:16 UTC
I will figure out a clean solution to redirect back to the previous page.
-

Matias Korhonen 2009-06-10 01:17:21 UTC
- 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 2009-06-15 01:16:30 UTC
(from [e593e6d32262317748dc1a994a98e3c511f7d201]) Implemented JS for the login box hints [#105] http://github.com/k33l0r/hhlc/commit/e593e6d32262317748dc1a994a98e3...
-

Matias Korhonen 2009-06-15 01:16:30 UTC
(from [203fd77278a34d6570013951ae8a4ebcd3469d7c]) Limit login hints to the user links [#105] http://github.com/k33l0r/hhlc/commit/203fd77278a34d6570013951ae8a4e...
-

Matias Korhonen 2009-06-15 01:16:30 UTC
(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 2009-06-15 01:16:55 UTC
- Assigned user changed from Joao Carlos to Matias Korhonen
- State changed from open to testing
-

Matias Korhonen 2009-06-15 20:07:40 UTC
(from [c0007d5008f6b5f3e52e9a0a95cadcb3881b881b]) Cleanup after removing JS logins [#105] http://github.com/k33l0r/hhlc/commit/c0007d5008f6b5f3e52e9a0a95cadc...
-

-

Matias Korhonen 2009-05-09 17:51:38 UTC
(from [1fd528cff66da6d0f30ea6830d691094e81d3983]) Removed unnecessary local variables [#105] http://github.com/k33l0r/hhlc/commit/1fd528cff66da6d0f30ea6830d6910...
-

-

-

Matias Korhonen 2009-06-18 00:05:42 UTC
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 2009-06-29 17:55:54 UTC
(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 2009-06-30 14:10:08 UTC
- 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...