DevCBeirut / devalopers

“Devalopers” is a business-oriented web application for all developer and technology workers used to find jobs and projects. This repository represents the Web part (Web-Interface) JavaScript
BSD 3-Clause Clear License
4 stars 4 forks source link

Company> profile> profile picture and info aren't being saved #51

Open nouratahhan99 opened 3 years ago

nouratahhan99 commented 3 years ago

Description: Upon editing a company profile, profile info and profile picture aren't being saved, and an error alert is showing

Steps to find this issue:

  1. Go to http://devalopers.herokuapp.com/login

  2. Log in as a company with the below credentials: Email: company1@devalopers.com Password: Company@123

  3. Go to profile in the banner

  4. Try to edit the company info using the pen in a box label 123543009-4c772200-d755-11eb-832a-e8f71121ca7d

  5. Once editing the (Company type, Description, address, website, location, social media...), then trying to save them using the same button (drive like label), you can recognize that nothing changes, the info edited are not saved

  6. Same for the profile picture, once editing the profile picture and adding a new one, it is not placed, default picture does not change

  7. An error alert is showing and not going off until the page is refreshed 123543274-551c2800-d756-11eb-8677-12f33314889f

Expected behavior: Profile info and profile picture should be saved, no error message should appear except if the necessary blanks were not filled (company name, email address)

NOTE that the issue is only present in the staging website http://devalopers.herokuapp.com/ while is it functioning in the main website https://devalopers.com/