v7.2.0
8.3.1 8.0.35-0ubuntu0.22.04.1
10.37.3
avator to update
adding avatars seems to be working.
however, users complained they could not change their avatar once set. So I tried myself with the same result.
We are getting the message "Your Account was updated successfully " but the avatar doesn't change
at first i thought it was a permissions issue
permission of an example avatar file in the public/figures/img
-rw-r--r-- 1 www-data www-data 7863 Jan 9 06:17 username.jpg
browsing through github i saw an issue when changing formats in a recent changelog, but i didn't see any mention of the issue I am seeing. as the file we are replacing are the same format "jpg"
what i saw was for UserController.php
https://github.com/HDInnovations/UNIT3D-Community-Edition/pull/3107/files/769fb6213fbc25f77d18a806c148d9a36048e81a#diff-cf777dea29b43cdee7e97016b5957f1b60a62e3e2427aa08c46e205017582254
I think i found an issue with the logic that was in pull request 3107...... its requiring the format to change.
So i tested again with a png... and bam it changed.
try with another png..... failure.
try a jpg..... it switches back.
so i think the logic needs to be re-examined.
No response
Yes, with my username
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too