Prestashop: [BO] Avatar photo is broken

Created on 8 Oct 2020  路  11Comments  路  Source: PrestaShop/PrestaShop

Describe the bug

Go to BO
->Click on your avatar, yo should see the picture isnt loaded
-> Go to Team>employees, click on an employee, the picture isnt loaded.

Steps to Reproduce

Steps to reproduce the behavior:

  1. Go to your avatar in corner right
  2. See avatar photo is broken
  3. Go into Advanced Param>Team>Employees and select an employee
  4. See avatar photo is broken

Screenshots
Capture d鈥檈虂cran 2020-10-08 a虁 10 22 30

Capture d鈥檈虂cran 2020-10-08 a虁 10 12 31

Might have a link with: https://github.com/PrestaShop/PrestaShop/pull/20207

Additional information

  • PrestaShop version: 1.7.8.x
  • PHP version: 7.2
BO Bug Employees Fixed Minor Regression Team develop

Most helpful comment

@khouloudbelguith could you take a look please ?

All 11 comments

Thanks for opening this issue! We will help you to keep its state consistent

@ngodefroy Is it a regression compared to 1.7.7.X ?

@marionf yes, it's a regression, couldnt reproduce it in 1.7.7.x

Surely a consequence of #18622, but might be fixed with https://github.com/PrestaShop/PrestaShop/pull/20430. @Progi1984, can you confirm?

I think so. I could check when #20430 will be checked by QA Team.

The issue has been moved on the blocked since it needs to wait for #20430 to be merged first

@PrestaShop/prestashop-qa I didn't reproduce this bug. Could you check too ?

@khouloudbelguith could you take a look please ?

Hi @Progi1984,

I manage to reproduce the issue with the develop branch following these steps:

  1. Go to BO > Advanced Parameters > Team > Employees page
  2. Create a new employee with setting only required fields
    2.1 Don't attach a file
    2.2 Don't enable gravatar
  3. Save
  4. Try to log in with the new employee
  5. Go to a page migrated (for example orders/products)
  6. Click on your profile
  7. see error

image

Thanks!

@khouloudbelguith Sorry : But I just tried (with the latest version of develop branch) and no problem

image
image

Hi @Progi1984,

Yes, it is ok now
image

I will close the issue.
Thank you!

Was this page helpful?
0 / 5 - 0 ratings