TeamPass icon indicating copy to clipboard operation
TeamPass copied to clipboard

"Copy password" not working from item list view

Open SophScuba opened this issue 1 year ago • 26 comments

Steps to reproduce

  1. Got to the "item list" of any folder.
  2. Click on "Copy password" for any item.

Expected behaviour

The password of the item should be copied to the clipboard.

Actual behaviour

The password of another item (always the same one) is copied to the clipboard instead of the password of the selected item. However if I copy the password from the item page instead of from the item list page then the correct password is copied, so clearly the passwords are still available. This started after I moved the database from my old server (Teampass 30.0.22 on Centos 7) to a new server (Teampass 3.0.9 on AlmaLinux 9) so maybe there was an issue during the move. This issue was not present on the old server. It might be related to this issue, I'm not sure: https://github.com/nilsteampassnet/TeamPass/issues/3805

Server configuration

Operating system: AlmaLinux 9.2

Web server: Apache 2.4.53

Database: MariaDB 10.5.16

PHP version: PHP 8.2.9

Teampass version: 3.0.9

Teampass configuration file:

Updated from an older Teampass or fresh install: tp.config.php.zip

Client configuration

Browser: Firefox 116 Edge 115

Operating system: Windows 11

Logs

Web server error log

teampass_access.log

Log from the web-browser developer console (CTRL + SHIFT + i)

I don't see much: [Violation] 'click' handler took 179ms clipboard.min.js:7

SophScuba avatar Aug 08 '23 07:08 SophScuba