fix add issue and redirect add issue to list of issue page when issue been added Closes GH-304 Closes GH-196.
This commit includes 2 related fixes:
add issue
the bug was due to:
-having the primary key for issue defined as unique, primary key in itself is already unique
-missing comma in the db schema
-there was quotation marks around the user id which makes it a string instead of an integer so the issues are not getting associated to the user.
redirect to list issue page when an issue is successfully added:
-changed render to redirectTo('/listIssues);
-the reputation requires a callback was was not included
Testing:
add issue
verify the newly added issue is added to list of issue and also associated with your profile
fix add issue and redirect add issue to list of issue page when issue been added Closes GH-304 Closes GH-196. This commit includes 2 related fixes:
Testing:
Thanks! :)