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]: Document URL does not change when the documents are closed/opened #46835

Closed
5 of 8 tasks
rajmondburgaj opened this issue Jul 29, 2024 · 1 comment
Closed
5 of 8 tasks
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap 29-feedback bug

Comments

@rajmondburgaj
Copy link

rajmondburgaj commented Jul 29, 2024

⚠️ This issue respects the following points: ⚠️

Bug description

  1. 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.
  2. 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

  1. Open a document
  2. Close it
  3. Refresh the page and instead of showing the main list, it opens the previous document
  4. Now, close it again, and open document 2
  5. Refresh the page
  6. 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
@rajmondburgaj rajmondburgaj added 0. Needs triage Pending check for reproducibility or if it fits our roadmap bug labels Jul 29, 2024
@rajmondburgaj 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
@susnux
Copy link
Contributor

susnux commented Jul 29, 2024

Duplicate of #45731

@susnux susnux marked this as a duplicate of #45731 Jul 29, 2024
@susnux susnux closed this as not planned Won't fix, can't repro, duplicate, stale Jul 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap 29-feedback bug
Projects
None yet
Development

No branches or pull requests

3 participants