Skip to content

Cards View: Rendering breaks if a lens has no model description #3918

Description

@Beet4

1. What is not working as documented?

The new "Cards View Details" from release tag 231011 seems to not render properly in some cases.

Release tag 230923:
oldview

Release tag 231021 (latest):
newview
Please note that the icons in the details under the photos are not rendering as well.

Release tag 231021 (latest), miniature view:
image
Works as expected.

2. How can we reproduce it?

As I do not know what exactly triggers the bug it's hard to give exact reproducible steps as it seems random which images it does not render but at the same time it's the exact same range of pictures (for me at least) all the time even after completely removing them and reindexing them.

But with latest the issue always happens for me in this view with the same range of pictures (a couple of hundred ones).

I have around 54k pictures spanning from January 2024 to November 2023 and so far only found this issue on picture from May and June 2023.

Steps to reproduce the behavior:

  1. Use latest
  2. Switch to detailed cards view
  3. I find it easiest is to check different months in calendar on a large library I guess to see if you can find the same bug.
  4. See rendering bug
  5. Check web browser error console

I have basically all settings at default.

3. What behavior do you expect?

For the Cards View Details to render properly.

4. What could be the cause of your problem?

  • I've tried to force regenerate all thumbnails.
  • I have tried removing the files that are not renderering properly in the list completely. Let photoprism clean up, and readded the files to originals and let photoprism index. Still same results as before.

The issue started with release 231011 which seems to have introduced a new details cards view.

5. Can you provide us with example files for testing, error logs, or screenshots?

See screenshots above.

Firefox logs error in the console when the bug is occuring:
error.log
I have omitted my own domain in the logs for privacy reasons.

6. Which software versions do you use?

(a) PhotoPrism Architecture & Build Number:
AMD64, see build numbers above. Running Docker on unRAID.

(b) Database Type & Version:
MariaDB. Server version: 10.11.5-MariaDB-log - Alpine Linux

(c) Operating System Types & Versions:
Server: Docker, unRAID. Client: Windows 11, 10 and Android 14.

(d) Browser Types & Versions:
Tried on Firefox 120.0 for Windows, Latest Chrome for Windows, Latest Edge for Windows and Latest Chrome for Android.

(e) Ad Blockers, Browser Plugins, and/or Firewall Software?
Tried with all disabled as well, same result.

Activity

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

Metadata

Metadata

Assignees

Labels

metadataRelated to Exif, XMP, IPTC & Co.releasedAvailable in a stable releasetestedChanges have been tested successfullyuxImpacts User Experience

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions