-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Conversation
…added to favorites Signed-off-by: fnuesse <felix.nuesse@t-online.de>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
* | ||
* @NoAdminRequired | ||
* | ||
* @param String |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
String
=> string
(http://docs.phpdoc.org/guides/types.html)
* | ||
* @param String | ||
* @return String | ||
*/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add @throws NotFoundException
because get($folderpath)
server/lib/public/Files/Folder.php
Lines 77 to 85 in 39bb32a
/** | |
* 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); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Its Work
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested and works 👍
@danielkesselberg I will port the fixes to your comments to master as well. |
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.