server icon indicating copy to clipboard operation
server copied to clipboard

[Bug]: Dynamic Content Load Issue on Scrolling in Files View

Open bigcat88 opened this issue 1 year ago • 2 comments

⚠️ This issue respects the following points: ⚠️

Bug description

Upon initial login, the interface appears normal and functional. However, as soon as we start scrolling down, the files and folders begin to disappear and are replaced by empty spaces in the file list view. This issue also affects functionality; it becomes impossible to open folders or interact with the navigation elements on the left side. This problem persists across multiple user sessions and browsers.

Nextcloud version: 28.0.4

Steps to reproduce

  1. Login to user which has many folders and shares at the root folder
  2. Scroll down in the WebUI

Expected behavior

Everything should display normally

Installation method

None

Nextcloud Server version

28

Operating system

None

PHP engine version

PHP 8.1

Web server

Apache (supported)

Database engine version

MySQL

Is this bug present after an update or on a fresh install?

Updated from a MINOR version (ex. 22.1 to 22.2)

Are you using the Nextcloud Server Encryption module?

None

What user-backends are you using?

  • [X] Default user-backend (database)
  • [ ] LDAP/ Active Directory
  • [ ] SSO - SAML
  • [ ] Other

Configuration report

No response

List of activated Apps

No response

Nextcloud Signing status

No response

Nextcloud Logs

No response

Additional info

As soon as the first files disappear, see the following errors in the browser console:

TypeError: e is undefined
   VueJS 22
   _onScrollHandle VirtualList.vue:185
   onScroll VirtualList.vue:180
   mounted VirtualList.vue:158
   VueJS 18
   setRoot files.ts:49
   T pinia.mjs:1380
   fetchContent FilesList.vue:319
   currentView FilesList.vue:267
   VueJS 4
vue.runtime.esm.js:3065:16

Nextcloud is running behind a Cloudflare reverse proxy, in case that is relevant.

bigcat88 avatar Apr 19 '24 11:04 bigcat88

We use SAML on NX v28.0.3 and have similar issues in the settings/user list. Scrolling down the user list ends half way down, when refreshing the rest is loaded. Scrolling up and down again users are missing again. Firefox inspector output:

TypeError: e is undefined VueJS 20 onScroll VirtualList.vue:89 mounted VirtualList.vue:74 VueJS 18 appendUsers users.js:87 v vuex.esm.js:844 commit vuex.esm.js:466 commit vuex.esm.js:465 _withCommit vuex.esm.js:624 commit vuex.esm.js:464 commit vuex.esm.js:409 getUsers users.js:378 promise callback*getUsers users.js:375 v vuex.esm.js:851 dispatch vuex.esm.js:516 dispatch vuex.esm.js:406 loadUsers UserList.vue:314 created UserList.vue:270 VueJS 24 vue.runtime.esm.js:3065:16

mmmrein avatar May 22 '24 10:05 mmmrein

This issue is for the files list

Could you fill in the bug report template in a new issue @mmmrein?

Pytal avatar May 22 '24 22:05 Pytal

Fixed in https://github.com/nextcloud/server/pull/45251

skjnldsv avatar Jun 13 '24 11:06 skjnldsv