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

fix: properly handle public link share deletion #1823

Merged
merged 1 commit into from May 22, 2023

Conversation

pulsejet
Copy link
Member

IShare::getSharedWith returns null for public links, and so AlbumMapper::removeFileWithOwner throws a TypeError (500)

@pulsejet pulsejet added bug Something isn't working 3. to review Waiting for reviews feature: albums Related to the albums section labels May 22, 2023
@pulsejet pulsejet requested review from artonge and skjnldsv May 22, 2023 21:34
IShare::getSharedWith returns null for public links, and so
AlbumMapper::removeFileWithOwner throws a TypeError (500)

Signed-off-by: Varun Patil <varunpatil@ucla.edu>
@artonge artonge added this to the Nextcloud 28 milestone May 22, 2023
@artonge
Copy link
Collaborator

artonge commented May 22, 2023

/backport to stable27

@backportbot-nextcloud backportbot-nextcloud bot added the backport-request Pending backport by the backport-bot label May 22, 2023
@artonge artonge merged commit f3c095b into master May 22, 2023
21 checks passed
@artonge artonge deleted the pulsejet/fix-link-del branch May 22, 2023 21:44
@artonge
Copy link
Collaborator

artonge commented May 22, 2023

/backport to stable26

@nextcloud nextcloud deleted a comment from backportbot-nextcloud bot May 22, 2023
@backportbot-nextcloud
Copy link

The backport to stable26 failed. Please do this backport manually.

# Switch to the target branch and update it
git checkout stable26
git pull origin/stable26

# Create the new backport branch
git checkout -b fix/foo-stable26

# Cherry pick the change from the commit sha1 of the change against the default branch
# This might cause conflicts. Resolve them.
git cherry-pick abc123

# Push the cherry pick commit to the remote repository and open a pull request
git push origin fix/foo-stable26

More info at https://docs.nextcloud.com/server/latest/developer_manual/getting_started/development_process.html#manual-backport

@artonge
Copy link
Collaborator

artonge commented May 23, 2023

Ah, not applicable to stable26, so not backporting

@artonge
Copy link
Collaborator

artonge commented Jun 6, 2023

/backport to stable26

@artonge
Copy link
Collaborator

artonge commented Jun 6, 2023

/backport to stable25

@backportbot-nextcloud backportbot-nextcloud bot added the backport-request Pending backport by the backport-bot label Jun 6, 2023
@backportbot-nextcloud backportbot-nextcloud bot removed the backport-request Pending backport by the backport-bot label Jun 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews bug Something isn't working feature: albums Related to the albums section
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants