Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Immich People Tab - Clicking on Additional Person in Info tab Throws Error #12348

Closed
1 of 3 tasks
RaulGw4 opened this issue Sep 5, 2024 · 5 comments
Closed
1 of 3 tasks

Comments

@RaulGw4
Copy link

RaulGw4 commented Sep 5, 2024

The bug

In the People tab of Immich on the web UI, I encountered an issue when interacting with photos containing multiple people. When I click on a person and open a photo with multiple people, and then open the Info tab to click on another person from the same photo, no photos appear for the second person.

error

The OS that Immich Server is running on

Truenas Scale

Version of Immich Server

v1.113.1

Version of Immich Mobile App

N/A

Platform with the issue

  • Server
  • Web
  • Mobile

Your docker-compose.yml content

Default from Apps Store

Your .env content

N/A

Reproduction steps

  1. Access the Immich on browser.
  2. Navigate to the People tab.
  3. Select a person from the list.
  4. Open a photo where this person appears alongside others.
  5. Click the "Info" tab for the photo.
  6. Click on a different person displayed within the photo (not the one initially selected from the People tab).

Relevant log output

Output from the console of the browser:

asset-interaction.store.Cu1fLRVi.js:2 Uncaught (in promise) TypeError: Cannot read properties of null (reading 'scrollTo')
    at wt (asset-interaction.store.Cu1fLRVi.js:2:38580)
wt @ asset-interaction.store.Cu1fLRVi.js:2
Promise.then
(anonymous) @ asset-interaction.store.Cu1fLRVi.js:2
(anonymous) @ entry.B21hFgyG.js:1
Y @ entry.B21hFgyG.js:1
await in Y
(anonymous) @ entry.B21hFgyG.js:1

Additional information

Also when you open a person and you refresh the page it throws this error in the console:

16.DPZC5bz0.js:1 Uncaught (in promise) TypeError: Cannot read properties of null (reading 'href')
at 16.DPZC5bz0.js:1:46828
at entry.B21hFgyG.js:1:19900
at Array.forEach ()
at Y (entry.B21hFgyG.js:1:19889)
(anonymous) @ 16.DPZC5bz0.js:1
(anonymous) @ entry.B21hFgyG.js:1
Y @ entry.B21hFgyG.js:1

@RaulGw4
Copy link
Author

RaulGw4 commented Sep 5, 2024

I was able to replicate the issue on the Demo Server of Immich

@bo0tzz
Copy link
Member

bo0tzz commented Sep 5, 2024

Confirmed, I can reproduce this.

@michelheusschen
Copy link
Contributor

#10646 seems to be the culprit, @midzelis any ideas what goes wrong?

@jrasm91
Copy link
Contributor

jrasm91 commented Sep 6, 2024

Fixed in #12370

@jrasm91 jrasm91 closed this as completed Sep 6, 2024
@RaulGw4
Copy link
Author

RaulGw4 commented Sep 17, 2024

Issue is still there but now on the Photos tab.
It doesn't throw a error but assets only load after you reload the page.

Steps to reproduce:

  1. Open the web app
  2. Go in the Photos tab
  3. Click on a photo with a person with (!!! 200+ photos !!!).
  4. Click the "Info" tab for the photo.
  5. Click on a person in the People section in the "info" tab (!!! with 200+ photos !!!).
  6. Scroll all the way down
  7. Open a photo where there is also a different person from the one you have selected.
  8. Click the "Info" tab for the photo.
  9. Click on the diffrent person in the "info tab" and see the results.

image_2024-09-17_190034429

Sometimes it take a few tries to happen or different photos and people.

I am on v1.115.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants