Skip to content

Conversation

@backportbot
Copy link

@backportbot backportbot bot commented Jan 29, 2025

Backport of PR #50299

This prevent restored version of encrypted files from having a wrong reported size. This was blocking download.

Signed-off-by: Louis Chemineau <[email protected]>
@backportbot backportbot bot requested review from Altahrim, artonge and come-nc January 29, 2025 09:39
@backportbot backportbot bot added bug 3. to review Waiting for reviews feature: encryption (server-side) feature: versions php Pull requests that update Php code labels Jan 29, 2025
@backportbot backportbot bot added this to the Nextcloud 29.0.12 milestone Jan 29, 2025
'encrypted' => $oldVersion,
'encryptedVersion' => $oldVersion,
'size' => $oldFileInfo->getSize()
'size' => $oldFileInfo->getData()['size'],

Check notice

Code scanning / Psalm

PossiblyFalseReference Note

Cannot call method getData on possibly false value
@artonge artonge merged commit 12d2254 into stable29 Jan 29, 2025
181 checks passed
@artonge artonge deleted the backport/50299/stable29 branch January 29, 2025 10:31
@Altahrim Altahrim mentioned this pull request Feb 5, 2025
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants