Skip to content

Conversation

@solracsf
Copy link
Member

@solracsf solracsf commented Feb 12, 2025

Summary

Else handle cache updating by the share source

Checklist

@solracsf solracsf requested a review from icewind1991 February 12, 2025 11:21
@solracsf solracsf force-pushed the checkStorageIdSetCache branch 2 times, most recently from b3823e0 to 84aafa2 Compare February 12, 2025 16:34
@solracsf solracsf marked this pull request as ready for review February 12, 2025 16:36
@solracsf solracsf added this to the Nextcloud 32 milestone Feb 12, 2025
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
@solracsf solracsf force-pushed the checkStorageIdSetCache branch from 84aafa2 to bc3be77 Compare February 13, 2025 07:29
@solracsf solracsf requested a review from susnux February 13, 2025 07:29
Copy link
Member

@ChristophWurst ChristophWurst left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not an expert for file sharing but this looks sane and like a good hardening 👍

@gonzalo

This comment was marked as off-topic.

@susnux
Copy link
Contributor

susnux commented Feb 13, 2025

Running nextcloud 30.0.5

Yes because the parameter is incompatible on 30. You need to remove the array before $parameters

@solracsf solracsf requested a review from come-nc February 13, 2025 17:58
@gonzalo
Copy link
Contributor

gonzalo commented Feb 13, 2025

I will try but... commit should be adapted depending on nextcloud version?

@solracsf
Copy link
Member Author

I will try but... commit should be adapted depending on nextcloud version?

Yes, dont replace a file from different branches. You can always apply the patch:
https://patch-diff.githubusercontent.com/raw/nextcloud/server/pull/50769.patch
https://www.cyberciti.biz/faq/appy-patch-file-using-patch-command/

But, if you're not familiar with these, just wait for an official and released version please (recommended).

@inDane
Copy link

inDane commented Feb 14, 2025

I will try but... commit should be adapted depending on nextcloud version?

Yes, dont replace a file from different branches. You can always apply the patch: https://patch-diff.githubusercontent.com/raw/nextcloud/server/pull/50769.patch https://www.cyberciti.biz/faq/appy-patch-file-using-patch-command/

But, if you're not familiar with these, just wait for an official and released version please (recommended).

I've tried this for Nxcl 29.0.11.1 but i think the patch is for nextcloud 30, right? Because for me it failed. Just a heads up for others.

@ChristophWurst ChristophWurst merged commit 228ac86 into master Feb 14, 2025
189 checks passed
@ChristophWurst ChristophWurst deleted the checkStorageIdSetCache branch February 14, 2025 13:17
@solracsf
Copy link
Member Author

/backport to stable31

@solracsf
Copy link
Member Author

/backport to stable30

@solracsf
Copy link
Member Author

/backport to stable29

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.

[Bug]: Undefined array key "storage_string_id" at /apps/files_sharing/lib/SharedStorage.php#483

8 participants