nextcloud / viewer

🖼 Simple file viewer with slideshow for media
GNU Affero General Public License v3.0
97 stars 55 forks source link

After deleting an image file in the file viewer, the view must be refreshed #1255

Open RobMahn opened 2 years ago

RobMahn commented 2 years ago

⚠️ This issue respects the following points: ⚠️

Bug description

After deleting an image file in the image viewer, the file is still displayed.

Steps to reproduce

  1. From Files, open an image (.jpg) file to view.
  2. Open the drop-down menu and delete.
  3. You are returned to the Files page, but the deleted file is still displayed.
  4. Selecting the image of the deleted file produces an error (of course).

Expected behavior

When the image is deleted, the page should be refreshed to remove the deleted file from view.

Installation method

Manual installation

Operating system

Debian/Ubuntu

PHP engine version

PHP 8.1

Web server

Nginx

Database engine version

PostgreSQL

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

Fresh Nextcloud Server install

Are you using the Nextcloud Server Encryption module?

Encryption is Disabled

What user-backends are you using?

Configuration report

No response

List of activated Apps

Enabled:
  - activity: 2.16.0
  - bruteforcesettings: 2.4.0
  - cloud_federation_api: 1.7.0
  - dashboard: 7.4.0
  - dav: 1.22.0
  - federatedfilesharing: 1.14.0
  - files: 1.19.0
  - files_external: 1.16.1
  - files_pdfviewer: 2.5.0
  - files_rightclick: 1.3.0
  - files_sharing: 1.16.2
  - files_trashbin: 1.14.0
  - files_versions: 1.17.0
  - files_videoplayer: 1.13.0
  - fileslibreofficeedit: 1.0.4
  - impersonate: 1.11.0
  - logreader: 2.9.0
  - lookup_server_connector: 1.12.0
  - music: 1.5.2
  - nextcloud_announcements: 1.13.0
  - notifications: 2.12.0
  - oauth2: 1.12.0
  - password_policy: 1.14.0
  - photos: 1.6.0
  - previewgenerator: 5.0.0
  - privacy: 1.8.0
  - provisioning_api: 1.14.0
  - serverinfo: 1.14.0
  - settings: 1.6.0
  - sharebymail: 1.14.0
  - support: 1.7.0
  - systemtags: 1.14.0
  - text: 3.5.1
  - theming: 1.15.0
  - twofactor_backupcodes: 1.13.0
  - updatenotification: 1.14.0
  - viewer: 1.8.0
  - weather_status: 1.4.0
  - workflowengine: 2.6.0
Disabled:
  - accessibility: 1.10.0
  - admin_audit
  - circles: 24.0.0
  - comments: 1.14.0
  - contactsinteraction: 1.5.0
  - encryption
  - federation: 1.14.0
  - firstrunwizard: 2.13.0
  - recommendations: 1.3.0
  - survey_client: 1.12.0
  - user_ldap
  - user_status: 1.4.0

Nextcloud Signing status

No response

Nextcloud Logs

No response

Additional info

No response

szotsaki commented 2 years ago

Can confirm it with Nextcloud 24.1, Apache and MariaDB.

szaimen commented 2 years ago

Is this still happening with NC25?