When deleting an album from the web UI, the server returns a wrong number of orphans. For example, in the below screenshots, we see that the selected album contains 2 photos and the server calculates 4 future orphans:
Consequently, the iOS app also returns a wrong number of orphans:
When deleting an album from the web UI, the server returns a wrong number of orphans. For example, in the below screenshots, we see that the selected album contains 2 photos and the server calculates 4 future orphans:
<img width="993" alt="Screenshot 2023-04-14 at 16 33 55" src="https://user-images.githubusercontent.com/7103032/232075291-811b42e1-963b-4cba-ba64-9c9e3618291a.png">
<img width="430" alt="Screenshot 2023-04-14 at 16 39 50" src="https://user-images.githubusercontent.com/7103032/232075823-a3417672-a688-4bcb-b205-5cca0223f4b5.png">
Consequently, the iOS app also returns a wrong number of orphans:

<!-- github-sync-id:1668397224 -->
did you also test it on master ? (for the future version 14) The "edit album" administration page is completely rewritten.
did you also test it on `master` ? (for the future version 14) The "edit album" administration page is completely rewritten.
<!-- github-comment-id:1509747658 -->
@EddyLB I can't reproduce. Can you tell us what your web browser (or the iOS app) gets as reply to pwg.categories.calculateOrphans ?
@EddyLB I can't reproduce. Can you tell us what your web browser (or the iOS app) gets as reply to `pwg.categories.calculateOrphans` ?
<img width="694" alt="Screenshot 2023-04-17 at 18 02 29" src="https://user-images.githubusercontent.com/9326959/232544143-e8517252-445f-4050-82b0-450d91c9285a.png">
<!-- github-comment-id:1511660682 -->
@plegall I have deleted the album and sub-album with which I was encountering the issue. I have recreated albums, uploaded photos, copied and moved some photos, etc. but cannot reproduce the problem either.
This issue probably appears after a specific manipulation or a series of manipulations. I propose to close it. I will reopen it when I will be able to reproduce it.
@plegall I have deleted the album and sub-album with which I was encountering the issue. I have recreated albums, uploaded photos, copied and moved some photos, etc. but cannot reproduce the problem either.
This issue probably appears after a specific manipulation or a series of manipulations. I propose to close it. I will reopen it when I will be able to reproduce it.
<!-- github-comment-id:1512469652 -->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
When deleting an album from the web UI, the server returns a wrong number of orphans. For example, in the below screenshots, we see that the selected album contains 2 photos and the server calculates 4 future orphans:
Consequently, the iOS app also returns a wrong number of orphans:

did you also test it on
master? (for the future version 14) The "edit album" administration page is completely rewritten.@EddyLB I can't reproduce. Can you tell us what your web browser (or the iOS app) gets as reply to
pwg.categories.calculateOrphans?@plegall I have deleted the album and sub-album with which I was encountering the issue. I have recreated albums, uploaded photos, copied and moved some photos, etc. but cannot reproduce the problem either.
This issue probably appears after a specific manipulation or a series of manipulations. I propose to close it. I will reopen it when I will be able to reproduce it.
Fine, let's close for now.