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 files_sharing app LoadSidebar event #17821

Merged
merged 3 commits into from
Dec 2, 2019

Conversation

skjnldsv
Copy link
Member

@skjnldsv skjnldsv commented Nov 5, 2019

Signed-off-by: John Molakvoæ (skjnldsv) [email protected]

@skjnldsv skjnldsv added enhancement 3. to review Waiting for reviews labels Nov 5, 2019
@skjnldsv skjnldsv added this to the Nextcloud 18 milestone Nov 5, 2019
@skjnldsv skjnldsv self-assigned this Nov 5, 2019
@skjnldsv skjnldsv requested a review from blizzz November 5, 2019 15:02
@skjnldsv skjnldsv force-pushed the feat/loadsidebar/files_sharing branch from c056730 to a1dbd95 Compare November 5, 2019 15:03
@skjnldsv
Copy link
Member Author

skjnldsv commented Nov 6, 2019

All fixed! Please review! :)

@skjnldsv skjnldsv force-pushed the feat/loadsidebar/files_sharing branch from 8740a64 to 2ab558c Compare November 8, 2019 08:30
@skjnldsv
Copy link
Member Author

skjnldsv commented Nov 8, 2019

/compile amend /

@npmbuildbot-nextcloud npmbuildbot-nextcloud bot force-pushed the feat/loadsidebar/files_sharing branch from 2ab558c to 57694dd Compare November 8, 2019 08:33
@skjnldsv skjnldsv force-pushed the feat/loadsidebar/files_sharing branch from 57694dd to 72a6fd0 Compare November 8, 2019 10:09
@skjnldsv skjnldsv mentioned this pull request Nov 9, 2019
14 tasks
@skjnldsv skjnldsv force-pushed the feat/loadsidebar/files_sharing branch 2 times, most recently from 75be168 to 59aee2f Compare November 14, 2019 07:06
@juliusknorr

This comment has been minimized.

@skjnldsv skjnldsv force-pushed the feat/loadsidebar/files_sharing branch 5 times, most recently from 10507be to 849f43f Compare November 18, 2019 21:25
Signed-off-by: John Molakvoæ (skjnldsv) <[email protected]>
Signed-off-by: John Molakvoæ (skjnldsv) <[email protected]>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
@skjnldsv skjnldsv force-pushed the feat/loadsidebar/files_sharing branch from 849f43f to a09203e Compare December 2, 2019 08:01
@skjnldsv

This comment has been minimized.

@npmbuildbot-nextcloud npmbuildbot-nextcloud bot force-pushed the feat/loadsidebar/files_sharing branch from a09203e to 55c1ead Compare December 2, 2019 10:25
@skjnldsv

This comment has been minimized.

@skjnldsv skjnldsv force-pushed the feat/loadsidebar/files_sharing branch from 55c1ead to a571192 Compare December 2, 2019 10:25
@npmbuildbot-nextcloud npmbuildbot-nextcloud bot force-pushed the feat/loadsidebar/files_sharing branch from a571192 to b7aebb5 Compare December 2, 2019 10:27
@skjnldsv skjnldsv force-pushed the feat/loadsidebar/files_sharing branch 2 times, most recently from 5e8cc6e to 49c30fe Compare December 2, 2019 11:21
@skjnldsv
Copy link
Member Author

skjnldsv commented Dec 2, 2019

Hopefully lasts fixes for tests to pass! 😭

Signed-off-by: John Molakvoæ (skjnldsv) <[email protected]>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
@skjnldsv skjnldsv force-pushed the feat/loadsidebar/files_sharing branch from 49c30fe to 5cb11ca Compare December 2, 2019 12:09
@skjnldsv
Copy link
Member Author

skjnldsv commented Dec 2, 2019

Tests passed 🚀

@skjnldsv skjnldsv merged commit b99134d into master Dec 2, 2019
@skjnldsv skjnldsv deleted the feat/loadsidebar/files_sharing branch December 2, 2019 14:10
$mountProviderCollection->registerProvider($this->getContainer()->query('MountProvider'));
$mountProviderCollection->registerProvider($this->getContainer()->query('ExternalMountProvider'));
}

public function register(): void {
$dispatcher = $this->getContainer()->getServer()->getEventDispatcher();
protected function registerEventsScripts(IEventDispatcher $dispatcher) {
Copy link
Member

Choose a reason for hiding this comment

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

This is where we broke the dispatch of addListener in line 214, where GenericEvent is type hinted in the callback, right @rullzer? That's what Psalm found in https://github.com/nextcloud/server/pull/23742/files#diff-f24715432b9a8ad98f1ff9c441096d8afd1ed1bcfb43f04a04ad2894e050e2a8R156

Nice catch by psalm I would say - cc @ChristophWurst @kesselb

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

Successfully merging this pull request may close these issues.

6 participants