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

Last changed time of a page updated without editing #1322

Closed
estux opened this issue Jun 16, 2024 · 2 comments · Fixed by #1550
Closed

Last changed time of a page updated without editing #1322

estux opened this issue Jun 16, 2024 · 2 comments · Fixed by #1550
Labels
bug Something isn't working needs info

Comments

@estux
Copy link

estux commented Jun 16, 2024

Describe the bug
I was just navigating a Collective (where I'm the owner) as a logged in user. I was opening some pages in Read Mode and stopped in one page for more time to read thoroughly the content. Later I just opened the right sidebar and checked all the tabs before closing it again (without modifications). After that I continued navigating through other pages (without editing).
I went to Activity and checked that the system registered a file edit action for that opened page. Also going again to that page in the Collective I saw the "Last Changed by" time updated.

I admit this bug is a bit tricky as it seems to not always happen "after something" and it appears apparently randomly. I'm still trying to understand a possible trigger action.

To Reproduce
Steps to reproduce the behavior:

  1. Go to one Collective
  2. Navigate some pages in Read Mode
  3. Open the right sidebar to just check settings and don't edit them.
  4. Continue navigating through other pages
  5. Check Activity module to see if a file edit action was registered.

Expected behavior
No edit action registered as I didn't edit any file.

Screenshots
If applicable, add screenshots to help explain your problem.

Server details:

  • Collectives app version: 2.12.0
  • Nextcloud version: 28.0.6
  • PHP Version: 8.2.14
  • Database: mysql 10.5.23

Client details:

  • OS: Windows 10
  • Browser: Firefox
  • Browser version: 127.0
  • Device: laptop
Logs

Nextcloud log (data/nextcloud.log)

Insert your Nextcloud log here

Browser log

Insert your browser log here, this could for example include:

a) The javascript console log
b) The network log
c) ...
@estux estux added the bug Something isn't working label Jun 16, 2024
@mejo-
Copy link
Member

mejo- commented Jul 16, 2024

There was a bug that resulted in the last changed timestamp being updated when pages got moved around. Could this have been the culprit? Are you still able to reproduce with latest Collectives and Nextcloud 28?

@estux
Copy link
Author

estux commented Jul 17, 2024

Hello @mejo- nice to hear you again!
I saw that bug but this one is not related as it happens without doing any active action.
Sometimes just opening the Collective and staying for some time in a page to read it triggers something to update the timestamp of the last edit session of the page.
I admit this bug is a bit tricky to catch!
I'm using the last stable version of Nextcloud 28 and last version of Collectives.
Thanks for your work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs info
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants