nextcloud / server

☁️ Nextcloud server, a safe home for all your data
https://nextcloud.com
GNU Affero General Public License v3.0
27.5k stars 4.08k forks source link

[Bug]: Restore button shows up outside Deleted Files when user clicks back in browser #49050

Open GreggGreen opened 3 weeks ago

GreggGreen commented 3 weeks ago

⚠️ This issue respects the following points: ⚠️

Bug description

Tested with 30.0.1 and still a problem.

Steps to reproduce

  1. Delete some files
  2. Go to Deleted Files
  3. Click back button in browser
  4. Notice the Restore button is still there

Expected behavior

Back button should go back to normal file list

Nextcloud Server version

30

Operating system

Other

PHP engine version

PHP 8.3

Web server

Apache (supported)

Database engine version

MariaDB

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

Upgraded to a MAJOR version (ex. 28 to 29)

Are you using the Nextcloud Server Encryption module?

None

What user-backends are you using?

Configuration report

"system": { "instanceid": "REMOVED SENSITIVE VALUE", "passwordsalt": "REMOVED SENSITIVE VALUE", "secret": "REMOVED SENSITIVE VALUE", "version": "30.0.1.2", "overwrite.cli.url": "https:\/\/vnix-dev.dms2.cloud", "installed": true, "maintenance": false, "maintenance_window_start": 1, "trusteddomains": [ "vnix-dev.dms2.cloud" ], "datadirectory": "REMOVED SENSITIVE VALUE", "dbtype": "mysql", "dbname": "REMOVED SENSITIVE VALUE", "dbhost": "REMOVED SENSITIVE VALUE", "dbport": "", "dbtableprefix": "oc", "mysql.utf8mb4": true, "dbuser": "REMOVED SENSITIVE VALUE", "dbpassword": "REMOVED SENSITIVE VALUE", "default_phone_region": "US", "log_type": "file", "log_level": 3, "logfile": "\/var\/vnix\/logs\/nextcloud.log", "htaccess.RewriteBase": "\/", "app_install_overwrite": [ "vnixnextcloud" ], "mail_smtpmode": "smtp", "mail_smtpsecure": "ssl", "mail_sendmailmode": "smtp", "mail_from_address": "REMOVED SENSITIVE VALUE", "mail_domain": "REMOVED SENSITIVE VALUE", "mail_smtpauthtype": "LOGIN", "mail_smtpauth": 1, "mail_smtphost": "REMOVED SENSITIVE VALUE", "mail_smtpport": "465", "mail_smtpname": "REMOVED SENSITIVE VALUE", "mail_smtppassword": "REMOVED SENSITIVE VALUE", "memcache.local": "\OC\Memcache\apcu", "memcache.distributed": "\OC\Memcache\Memcached", "memcached_servers": [ [ "localhost", 11211 ] ], "filelocking.enabled": true, "memcache.locking": "\OC\Memcache\Redis", "redis": { "host": "REMOVED SENSITIVE VALUE", "port": 6379, "timeout": 0 }, "theme": "", "updater.secret": "REMOVED SENSITIVE VALUE", "loglevel": 2 }

List of activated Apps

Enabled:

Nextcloud Signing status

No response

Nextcloud Logs

No response

Additional info

No response

joshtrichards commented 2 weeks ago

Reproduced. Thanks for the report. :)