-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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]: Files are automatically opened when entering a folder #45731
Comments
There is an ?openfile=true property being sent in the URL, I can see it when reentering to the previous visited folder and it causes the previous opened file to be reopened. This happens with any type of file, PDF, DOC, TXT, JPG, etc. |
I encountered the same bug as described below. Environment:
Steps to Reproduce:
Additional Observation:
Expected Behavior: |
I also noticed the "File not found" message when navigating to another folder. May be related to the "&openfile=true" parameter on the URL. |
Same behaviour, users need to get rid of the url parameter to stop opening the file or getting the "file not found" error message Environment : Community Archive on a Debian 12, MariaDB, Php8.2 |
I have had to deal with confused users because of this bug: opening certain folders shows a "File not found" error, while for others, it immediately loads a document in Nextcloud Office, or shows a photo, or starts playing a video... The problem doesn't appear when loading Nextcloud in a private browsing window, which suggests the issue is related to browser cache and/or local storage. |
Possibly related to #43413 |
I have an addition to this bug. When explicitly using an URL to a file with Steps to reproduce:
Expected behavior:
Observed behavior:
I can also verify this from @jcharaoui :
Doing this in a private window works as expected. |
Related to #44635 as well. Coming here to report this. |
Fixed with nextcloud/viewer#2368 Will be in the next maintenance release |
Bug description
When I open a file to edit, for example a .doc or a .txt file, and then I close that file. The if I exit the folder and re enter, the file automatically opens. This also occurres if I refresh the page.
Steps to reproduce
Expected behavior
The folder content should show and no file should be opened without user intervention
Installation method
Community VM appliance
Nextcloud Server version
29
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.1
Web server
Apache (supported)
Database engine version
PostgreSQL
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?
Configuration report
List of activated Apps
Nextcloud Signing status
Nextcloud Logs
Additional info
No additional info
The text was updated successfully, but these errors were encountered: