Skip to content

Conversation

@skjnldsv
Copy link
Member

@skjnldsv skjnldsv commented Nov 12, 2024

Fix #48312
Best with nextcloud-libraries/nextcloud-files#1115 (but not required)

Steps

  1. Upload a file image.jpg (or whatever)
  2. Ensure mtime is invalid
UPDATE `filecache` SET `mtime` = '0' WHERE `filecache`.`path` = 'files/image.jpg';
  1. Load the files app
  2. See error
    image

Result

image

@skjnldsv skjnldsv added this to the Nextcloud 31 milestone Nov 12, 2024
@skjnldsv skjnldsv requested review from a team and susnux November 12, 2024 11:00
@skjnldsv skjnldsv self-assigned this Nov 12, 2024
@skjnldsv skjnldsv requested review from artonge and sorbaugh and removed request for a team November 12, 2024 11:01
@skjnldsv skjnldsv requested a review from nfebe November 12, 2024 11:01
@skjnldsv
Copy link
Member Author

/backport to stable30

@skjnldsv
Copy link
Member Author

/backport to stable29

@skjnldsv
Copy link
Member Author

/backport to stable28

@skjnldsv
Copy link
Member Author

/compile rebase

@skjnldsv skjnldsv added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Nov 14, 2024
@skjnldsv skjnldsv enabled auto-merge November 14, 2024 13:50
@skjnldsv skjnldsv merged commit cba4673 into master Nov 14, 2024
118 checks passed
@skjnldsv skjnldsv deleted the fix/invalid-mtime branch November 14, 2024 13:57
@skjnldsv

This comment was marked as resolved.

@backportbot

This comment was marked as resolved.

@skjnldsv skjnldsv mentioned this pull request Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4. to release Ready to be released and/or waiting for tests to finish bug feature: files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: files.ts:77 RangeError: Invalid time value

5 participants