nilsteampassnet / TeamPass

Collaborative Passwords Manager
https://www.teampass.net
1.66k stars 540 forks source link

Deleting item from popup button empty all folders #4224

Open antoweb opened 3 months ago

antoweb commented 3 months ago
### Steps to reproduce 1. Select an item from list 2. Delete item clicking on trash button popup (see screenshot) 3. Select a folder from left side, on the right side appear message : "No items to display" ![image](https://github.com/nilsteampassnet/TeamPass/assets/32364871/8ec4e143-d05c-4281-b65a-6ffc06ea0530) ### Expected behaviour Tell us what should happen ### Actual behaviour Tell us what happens instead ### Server configuration **Operating system**: **Web server:** **Database:** mysql Ver 15.1 Distrib 10.11.6-MariaDB **PHP version:** 8.2.13 **Teampass version:** 3.1.2 **Teampass configuration file:** **Updated from an older Teampass or fresh install:** PLEASE attach to this issue the file `/includes/config/tp.config.php`. ### Client configuration **Browser:** All **Operating system:** Red Hat 8.10 ### Logs #### Web server error log ``` Insert your webserver log here ``` #### Log from the web-browser developer console (CTRL + SHIFT + i) ``` Insert the log here and especially the answer of the query that failed. ```
corentin-soriano commented 3 months ago

PR: #4228

antoweb commented 3 months ago

Hello, so we have to waiting a new release?

corentin-soriano commented 3 months ago

Sorry, I commented on the wrong issue. Do you encounter the problem systematically, or only on items imported from a keepass/csv?

In manual created item : image

In imported item: image

data-item-key seems not to be correct.

The first two are imported from a CSV and the others created by hand: image

Their id (the first two generate the same query): image

corentin-soriano commented 3 months ago

I understood the problem, I made the pull request #4230 with details.

antoweb commented 3 months ago

Imported items trought csv