Closed GoogleCodeExporter closed 9 years ago
Original comment by faziletc...@gmail.com
on 8 Dec 2014 at 5:37
It seemed like the issue did exist yesterday, but it seems to work now. Can you
mark as done after trying it once again?
Original comment by kivancya...@gmail.com
on 11 Dec 2014 at 12:13
This issue still exist. I'll take a look into it.
Original comment by kivancya...@gmail.com
on 11 Dec 2014 at 12:15
It was due to a uniqueness enforcement on Users.Name. When you try to add a
user with a already existing name, MySQL obviously returns an error, but our
code returns another error message.
On a second though, it's not a good idea to have a constraint as UNIQUE(Name),
so I dropped it. The issue has to be solved now, but please try again before
marking it as done.
On a side note, this:
http://stackoverflow.com/questions/3487691/dropping-unique-constraint-from-mysql
-table helped a lot. Just wanted to leave the link here.
Original comment by kivancya...@gmail.com
on 11 Dec 2014 at 12:40
Not that. I found that db.register in Register.java is called twice for some
cases. Register is successful on first, but returns "email exists" on second.
Original comment by kivancya...@gmail.com
on 11 Dec 2014 at 12:49
This time fixed. When you click register button, doPost is called twice. One
for it being an input of type submit, one for javascript onClick. See commit
deb7a
Original comment by kivancya...@gmail.com
on 11 Dec 2014 at 1:13
Original issue reported on code.google.com by
faziletc...@gmail.com
on 8 Dec 2014 at 9:49