Profile page should not render anything with inactive/non-existing account

Description

1) Select an account that is not active (can disabled by admin)
2) Go to /profile/view/{username}

Expected result

  • Person not found

  • redirect to your profile page (with updated url too) if logged in

Actual result

  • The profile page load with the disabled account information

Side note:
Tried with non-exisiting username on the url

  • the page will load with partial informat and a noticiation of "we were unable to load user info "

  • if you're not logged in, this will show an empty page, with a notification of "user cannot be found".

Status

Assignee

Alex Eng

Reporter

Alex Eng

Labels

None

Tested Version/s

None

Sprint

None

Fix versions

Priority

unspecified