Validate database integrity for profile pic recording

Issue #31 resolved
BCCF repo owner created an issue

High-Level Business Requirements The following need to apply for all user profiles All users can load and update their photo in user profile pages User should know that large photo files are not permitted to load User such as Admin, Parent Affiliates, Professional Affiliates and Organizational affiliates, or anyone with an account on the system. Current State When a user loads a photo in his profile and save it the system in some cases show a different photo in the user profile, a photo which belongs to another user.
When a user tries to load a large high quality photo in his profile the systems does not load the photo, the page look like the photo is processing but after 1 hour or more nothing happened and the user have to cancel or close the website without knows what is the issue and why the photo was not loaded.

Comments In some cases, majority of the cases, the photo is showing in the right user profile; but there are inconsistent when in a user profile is showing a photo which does not belongs to this user profile. See below BR-037-AsIS1 print-screen chart. BR-037-AsIS1- -(This photo was not loaded by Ana user and should not appear in her profile)
Screen Shot 2017-11-15 at 3.48.46 PM.png

Solution Approach When a user load a photo on the website their profile should show only the photo which was loaded by the user. if a user loaded or updated his photo then the system/profile should pull the latest user photo and not someone else photo.

Changes To include data/photo integrite in the database or system; though which is possible to guarantee that the photo has an unique identifier, it belongs to the right and unique user owner too. everytime the user log in or its information is displayed in the website then the right photo is retrieved from the systems / database. to add a label / text “Photo maximum size 80 kb ” under the “Edit Profile Picture” (see chart above,BR-037-AsIS1 ); and if the user selects from his computer a photo file bigger than 80 kb then a window-notification should pop-up “Photo size must be 80 kb maximum”.

Comments (2)

  1. Log in to comment