Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
5 of 8 tasks
GreggGreen opened this issue Nov 2, 2024 · 1 comment
Open
5 of 8 tasks

Comments

@GreggGreen
Copy link

⚠️ 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?

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

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,
"trusted_domains": [
"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:

  • app_api: 4.0.0
  • bruteforcesettings: 3.0.0
  • cloud_federation_api: 1.13.0
  • comments: 1.20.1
  • dav: 1.31.1
  • federatedfilesharing: 1.20.0
  • files: 2.2.0
  • files_accesscontrol: 1.20.1
  • files_downloadlimit: 3.0.0
  • files_external: 1.22.0
  • files_pdfviewer: 3.0.0
  • files_sharing: 1.22.0
  • files_trashbin: 1.20.1
  • logreader: 3.0.0
  • lookup_server_connector: 1.18.0
  • oauth2: 1.18.1
  • onlyoffice: 9.5.0
  • password_policy: 2.0.0
  • privacy: 2.0.0
  • provisioning_api: 1.20.0
  • related_resources: 1.5.0
  • serverinfo: 2.0.0
  • settings: 1.13.0
  • sharebymail: 1.20.0
  • support: 2.0.0
  • systemtags: 1.20.0
  • text: 4.1.0
  • theming: 2.5.0
  • theming_customcss: 1.17.0
  • twofactor_backupcodes: 1.19.0
  • viewer: 3.0.0
  • webhook_listeners: 1.1.0-dev
  • workflowengine: 2.12.0
    Disabled:
  • activity: 3.0.0 (installed 2.16.0)
  • admin_audit: 1.20.0 (installed 1.14.0)
  • circles: 30.0.0-dev (installed 23.0.0)
  • contactsinteraction: 1.11.0 (installed 1.5.0)
  • dashboard: 7.10.0 (installed 7.4.0)
  • encryption: 2.18.0
  • federation: 1.20.0 (installed 1.14.0)
  • files_reminders: 1.3.0 (installed 1.2.0)
  • files_versions: 1.23.0 (installed 1.22.0)
  • firstrunwizard: 3.0.0 (installed 2.13.0)
  • nextcloud_announcements: 2.0.0 (installed 1.12.0)
  • notifications: 3.0.0 (installed 2.16.0)
  • photos: 3.0.2 (installed 1.6.0)
  • recommendations: 3.0.0 (installed 1.3.0)
  • survey_client: 2.0.0 (installed 1.12.0)
  • suspicious_login: 8.0.0
  • twofactor_nextcloud_notification: 4.0.0
  • twofactor_totp: 12.0.0-dev
  • updatenotification: 1.20.0 (installed 1.14.0)
  • user_ldap: 1.21.0
  • user_status: 1.10.0 (installed 1.4.0)
  • weather_status: 1.10.0 (installed 1.4.0)

Nextcloud Signing status

No response

Nextcloud Logs

No response

Additional info

No response

@GreggGreen GreggGreen added 0. Needs triage Pending check for reproducibility or if it fits our roadmap bug labels Nov 2, 2024
@joshtrichards joshtrichards added feature: files feature: trashbin 1. to develop Accepted and waiting to be taken care of and removed 0. Needs triage Pending check for reproducibility or if it fits our roadmap labels Nov 5, 2024
@joshtrichards joshtrichards changed the title [Bug]: Deleted Files Restore Button is showing up on normal files when user clicks back in browser [Bug]: Restore button shows up outside Deleted Files when user clicks back in browser Nov 5, 2024
@joshtrichards
Copy link
Member

Reproduced. Thanks for the report. :)

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

No branches or pull requests

3 participants