You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When opening a document for the first time in the URL, the URL of that document adjusts accordingly, so, we have the name of the document in the URL and also the openfile query parameter set to true. But if the document is closed, the URL never adjusts anymore, hence causing inconsistent behavior while navigation. For example, when I close the document and refresh the page, instead of showing the full list of the documents, it will simply open that which is not correct.
In addition, when opening other documents and refreshing the page instead of opening the same document, it will open the first one from the list because of the wrong URL, which never changes.
Steps to reproduce
Open a document
Close it
Refresh the page and instead of showing the main list, it opens the previous document
Now, close it again, and open document 2
Refresh the page
instead of showing document 2, it will open document 1 due to the wrong URL
Expected behavior
The expected behavior is: - The URL should always reflect the selected/opened document, and if none is opened it should point to the main list of documents instead. This would also prevent people from sharing the wrong URL with others.
Installation method
Community Docker image
Nextcloud Server version
29
Operating system
Debian/Ubuntu
PHP engine version
None
Web server
Nginx
Database engine version
MySQL
Is this bug present after an update or on a fresh install?
None
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
What user-backends are you using?
Default user-backend (database)
LDAP/ Active Directory
SSO - SAML
Other
Configuration report
The issue is applicable to all versions since version 27 if I remember correctly, so, no need to paste this information here.
List of activated Apps
No response
Nextcloud Signing status
No response
Nextcloud Logs
No response
Additional info
Screencast.from.2024-07-29.08-39-09.webm
The text was updated successfully, but these errors were encountered:
rajmondburgaj
changed the title
[Bug]: Document URL does not change when the document is closed
[Bug]: Document URL does not change when the documents are closed/opened
Jul 29, 2024
Bug description
openfile
query parameter set to true. But if the document is closed, the URL never adjusts anymore, hence causing inconsistent behavior while navigation. For example, when I close the document and refresh the page, instead of showing the full list of the documents, it will simply open that which is not correct.Steps to reproduce
Expected behavior
The expected behavior is: - The URL should always reflect the selected/opened document, and if none is opened it should point to the main list of documents instead. This would also prevent people from sharing the wrong URL with others.
Installation method
Community Docker image
Nextcloud Server version
29
Operating system
Debian/Ubuntu
PHP engine version
None
Web server
Nginx
Database engine version
MySQL
Is this bug present after an update or on a fresh install?
None
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
What user-backends are you using?
Configuration report
The issue is applicable to all versions since version 27 if I remember correctly, so, no need to paste this information here.
List of activated Apps
No response
Nextcloud Signing status
No response
Nextcloud Logs
No response
Additional info
Screencast.from.2024-07-29.08-39-09.webm
The text was updated successfully, but these errors were encountered: