passman icon indicating copy to clipboard operation
passman copied to clipboard

Iadding custom icon error on chrome

Open Luckyvb opened this issue 4 years ago • 1 comments

Bug report

Iadding custom icon error on chrome/firefox

Steps to reproduce

  1. open saved password
  2. click on locked icon
  3. select icon file png/ico/gif
  4. press "use this icon"

Expected behaviour

set icon for item

Actual behaviour

Nothing.. in console error:TypeError: Cannot set property 'type' of null

Configuration

NextCloud 16.04

Browser:
Firefox Chrome

Extensions that might cause interference:

Passman version:
last

Operating system: Windows 10 client. Server Debian 9

Web server: nginx reverse proxy + apache Database:

PHP version:

cloud server: Nextcloud or ownCloud Nextcloud cloud version: (see admin page or version.php) 16.0.4

Browser log

Browser log ``` passman.min.js?v=cedb21bd-0:4 TypeError: Cannot set property 'type' of null at m.scope.useIcon (passman.min.js?v=cedb21bd-0:29) at passman.min.js?v=cedb21bd-0:6 at b (passman.min.js?v=cedb21bd-0:4) at e (passman.min.js?v=cedb21bd-0:7) at m.$eval (passman.min.js?v=cedb21bd-0:5) at m.$apply (passman.min.js?v=cedb21bd-0:5) at HTMLButtonElement. (passman.min.js?v=cedb21bd-0:7) at HTMLButtonElement.dispatch (main.js?v=cedb21bd-0:39) at HTMLButtonElement._.handle (main.js?v=cedb21bd-0:39)```
![ispmgr](https://user-images.githubusercontent.com/5268904/63769065-80275d80-c8da-11e9-9495-ba945c10213c.gif) ![ispmgr](https://user-images.githubusercontent.com/5268904/63769066-80275d80-c8da-11e9-9bac-7a3daa9cb992.png)

http://prntscr.com/oy4cc5


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Luckyvb avatar Aug 27 '19 11:08 Luckyvb

I also have this issue. Workaround is to create a custom folder in /nextcloud/apps/passman/img/icons/ folder and upload svg images there. png and other don't work there too.

manuelkamp avatar May 12 '20 11:05 manuelkamp