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

[stable14] Fix missing quickaccess favorite folder on add #12441

Merged
merged 2 commits into from Nov 14, 2018

Conversation

@newhinton
Contributor

newhinton commented Nov 13, 2018

Backport to NC14 of #10888

When you mark a folder as favorite, it should be added to the quickaccessbar. This is not the case, because the route for checking if the newly marked element is a folder or a directory is missing. This PR readds the missing route.

fix for favorites-quickaccess: newly added folders dont show up when …
…added to favorites

Signed-off-by: fnuesse <felix.nuesse@t-online.de>
*
* @NoAdminRequired
*
* @param String

This comment has been minimized.

@danielkesselberg
*
* @param String
* @return String
*/

This comment has been minimized.

@danielkesselberg

danielkesselberg Nov 14, 2018

Contributor

Please add @throws NotFoundException because get($folderpath)

/**
* Get the node at $path
*
* @param string $path relative path of the file or folder
* @return \OCP\Files\Node
* @throws \OCP\Files\NotFoundException
* @since 6.0.0
*/
public function get($path);
could throw it.

@JanDragon

Its Work

@MorrisJobke MorrisJobke changed the title from [Backport] Bug/noid/fix missing quickaccess favorite folder on add to [stable14] Fix missing quickaccess favorite folder on add Nov 14, 2018

Update PHPDoc to fix typos
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
@MorrisJobke

Tested and works 👍

@MorrisJobke MorrisJobke merged commit c4155e2 into stable14 Nov 14, 2018

@MorrisJobke MorrisJobke deleted the stable14-10888 branch Nov 14, 2018

@MorrisJobke

This comment has been minimized.

Member

MorrisJobke commented Nov 14, 2018

@danielkesselberg I will port the fixes to your comments to master as well.

@MorrisJobke MorrisJobke referenced this pull request Nov 22, 2018

Merged

14.0.4 #12586

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment