{"action":"created","issue":{"url":"https://api.github.com/repos/kblincoe/QualOpt_SE701/issues/128","repository_url":"https://api.github.com/repos/kblincoe/QualOpt_SE701","labels_url":"https://api.github.com/repos/kblincoe/QualOpt_SE701/issues/128/labels{/name}","comments_url":"https://api.github.com/repos/kblincoe/QualOpt_SE701/issues/128/comments","events_url":"https://api.github.com/repos/kblincoe/QualOpt_SE701/issues/128/events","html_url":"https://github.com/kblincoe/QualOpt_SE701/pull/128","id":307860602,"number":128,"title":"Issue #120 Clear input box after updating password","user":{"login":"umih874","id":36830645,"avatar_url":"https://avatars2.githubusercontent.com/u/36830645?v=4","gravatar_id":"","url":"https://api.github.com/users/umih874","html_url":"https://github.com/umih874","followers_url":"https://api.github.com/users/umih874/followers","following_url":"https://api.github.com/users/umih874/following{/other_user}","gists_url":"https://api.github.com/users/umih874/gists{/gist_id}","starred_url":"https://api.github.com/users/umih874/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/umih874/subscriptions","organizations_url":"https://api.github.com/users/umih874/orgs","repos_url":"https://api.github.com/users/umih874/repos","events_url":"https://api.github.com/users/umih874/events{/privacy}","received_events_url":"https://api.github.com/users/umih874/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2018-03-23T00:28:27Z","updated_at":"2018-03-28T04:46:55Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/kblincoe/QualOpt_SE701/pulls/128","html_url":"https://github.com/kblincoe/QualOpt_SE701/pull/128","diff_url":"https://github.com/kblincoe/QualOpt_SE701/pull/128.diff","patch_url":"https://github.com/kblincoe/QualOpt_SE701/pull/128.patch"},"body":"# NOTE\r\nWhile solving this issue some bugs related to issue #27 were discovered. Since the pull request, #66 has already been merged and team Veovo worked on issue #27 we decide to add fixes for that issue in this pull request.\r\n\r\n## Changes made for the issue #27\r\n<b> This is also referenced in #66 </b> which explains how to test and validate the implemented functionality.\r\nThe current password field was bounded to new password field so whenever there was an error in new password field the error for current password would be displayed. The bonding issue was solved and so that error for each field are only associated and triggered by the faulty field.\r\nFurther changes were made to limit the number of characters the user can input (i.e. min 4 and max 50) identical to the property of the other input boxes.\r\n\r\n## Changes made for this issue #120 \r\nThe additional function was added to the component file to clear the input fields from the entered input once the user attempts to log in. This is done by simply writing null to the input box value. The issue of the unwanted message showing described in #120 (in image 4) was resolved by adding boolean value that will block them being displayed when the user tries to log in. The blocking will stop once the user tries to input new text.\r\n\r\n## Testing \r\n- Try to change the password with an invalid and/or valid current password and check if the input boxes and the messages \"Your current password is required.\" have cleared upon error or success message shows up.\r\n- Test if the functionality implemented does not affect any other functionalities.\r\n\r\n## Image evidence\r\n### Prior to password change\r\n![prelogin](https://user-images.githubusercontent.com/36830645/37811900-a09fdae2-2ec1-11e8-9976-72db697d47b1.JPG)\r\n### After changing the password\r\n![postlogin](https://user-images.githubusercontent.com/36830645/37811910-b04a9cac-2ec1-11e8-83eb-8c77e03c9ec6.JPG)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/kblincoe/QualOpt_SE701/issues/comments/376760125","html_url":"https://github.com/kblincoe/QualOpt_SE701/pull/128#issuecomment-376760125","issue_url":"https://api.github.com/repos/kblincoe/QualOpt_SE701/issues/128","id":376760125,"user":{"login":"umih874","id":36830645,"avatar_url":"https://avatars2.githubusercontent.com/u/36830645?v=4","gravatar_id":"","url":"https://api.github.com/users/umih874","html_url":"https://github.com/umih874","followers_url":"https://api.github.com/users/umih874/followers","following_url":"https://api.github.com/users/umih874/following{/other_user}","gists_url":"https://api.github.com/users/umih874/gists{/gist_id}","starred_url":"https://api.github.com/users/umih874/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/umih874/subscriptions","organizations_url":"https://api.github.com/users/umih874/orgs","repos_url":"https://api.github.com/users/umih874/repos","events_url":"https://api.github.com/users/umih874/events{/privacy}","received_events_url":"https://api.github.com/users/umih874/received_events","type":"User","site_admin":false},"created_at":"2018-03-28T04:46:55Z","updated_at":"2018-03-28T04:46:55Z","author_association":"CONTRIBUTOR","body":"@softeng-701 Should be all good now"}}
{"actor":{"display_login":"umih874"}}