nextcloud / nextcloud/photos

Not all pictures showed in Photos app

Open
#522 20 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0. Needs triage bug feature: timeline needs info
Dominant language
JavaScript
Stars
718
Forks
91
Avg merge
2d 15h
Merged PRs (30d)
76

Description

Describe the bug

Uploaded 179 JPG, only 15 are displayed at Photos app.

  • S3 as primary storage
  • NC 19.0.4
  • MariaDB 10.4.15
  • PHP 7.4.11 (max_execution_time=3600,

To Reproduce

Steps to reproduce the behavior:

  1. Create a folder and upload 179 JPG inside it
  2. All files get a thumbnail correctly, either in list or grid view inside that folder
  3. Go to Photos app on the top menu
  4. 15 pictures displayed

Desktop (please complete the following information):

  • Browser Firefox or Chrome @latest

Browser log

Uncaught TypeError: t.Files is undefined
    <anonymous> commentmodel.js:13
    <anonymous> commentmodel.js:93
    Webpack 5
commentmodel.js:13:1
Uncaught TypeError: OCA.Files.DetailTabView is undefined
    <anonymous> versionstabview.js:18
    Webpack 3
versionstabview.js:18:7

XHR GET https://my.server.com/ocs/v2.php/apps/notifications/api/v2/notifications
[HTTP/1.1 200 OK 163ms]

XHR GET https://my.server.com/apps/onlyoffice/ajax/settings
[HTTP/1.1 200 OK 180ms]

XHR GET https://my.server.com/apps/apporder/getOrder
[HTTP/1.1 200 OK 151ms]

Please do NOT wait for the DOMContentLoaded before registering your viewer handler Viewer.vue:210

XHR SEARCH https://my.server.com/remote.php/dav/

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the 179-JPG upload and Photos app display steps, then inspect the browser errors reported in commentmodel.js and versionstabview.js, along with Viewer.vue:210. Done means all uploaded pictures appear in the Photos app and the reported JavaScript errors no longer occur.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.