brihmon / sheel-ma3aya

Automatically exported from code.google.com/p/sheel-ma3aya
0 stars 0 forks source link

NS06T11 (Check already registered users) #142

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
================
User story
================
06) As a new user, I should be able to register
================
Task
================
Check for already registered users

Original issue reported on code.google.com by nada.a...@gmail.com on 9 Dec 2011 at 9:44

GoogleCodeExporter commented 9 years ago
Started

Original comment by nada.a...@gmail.com on 16 Dec 2011 at 5:22

GoogleCodeExporter commented 9 years ago
Nada, I had a humble idea about that task:

you can use try and catch... search for the user.. if there is an exception (no 
user).. handle it in the catch. and return -1

Hope it helps anyways :)

Original comment by hossam.a...@gmail.com on 16 Dec 2011 at 6:01

GoogleCodeExporter commented 9 years ago
i already wrote the method to test it and i'm deploying now .. if it didn't 
work i'll try your idea

Original comment by nada.a...@gmail.com on 16 Dec 2011 at 6:09

GoogleCodeExporter commented 9 years ago
Done .. If the registering user is already registered in our database .. an 
alert will be shown with an OK button, when clicked, the user will be directed 
to the home page

Original comment by nada.a...@gmail.com on 16 Dec 2011 at 8:11

GoogleCodeExporter commented 9 years ago
Done

Original comment by magued.george1990@gmail.com on 25 Dec 2011 at 9:56