Bug#987203: gitlab: can not set user avatar

2021-04-30 Thread Antoine Le Gonidec

I do not reproduce my initial issue on a fresh install of GitLab using Buster 
Fast Track, so I think it was due to some misconfiguration of my previous 
instance.



OpenPGP_signature
Description: OpenPGP digital signature


Bug#987203: gitlab: can not set user avatar

2021-04-19 Thread Antoine Le Gonidec
Package: gitlab
Version: 13.9.6+ds1-1~fto10+1
Severity: normal

Setting the avatar for a user account fails, due to the JavaScript
"pop-up" titled "Position and size your new avatar" being broken. Some
script fails, and cause this pop-up to be unusable, it buttons having no
effect (zoom buttons, and validation button).

On opening this pop-up, the following JavaScript error is thrown:
Uncaught TypeError: this.modalCropImg.cropper is not a function
The JavaScript file spawning this error is:
(…)/assets/webpack/commons-pages.profiles-pages.profiles.accounts.show-pages.profiles.index-pages.profiles.keys-pages.(…).chunk.js

Setting the avatar of a project is not affected, since it does not
rely on this zoom/crop JavaScript step.

The GitLab instance I experience this issue on is installed using the
buster-fasttrack repository,
cf. https://wiki.debian.org/gitlab#Buster_Fast_Track_.28Recommended.29