Skip to content

Conversation

@rullzer
Copy link
Member

@rullzer rullzer commented Aug 16, 2018

Else if a preview provider is registerd but not available (for example
missing support in some external lib). It will do 💥. This way the
providers can at least do the sanity checks required.

Signed-off-by: Roeland Jago Douma [email protected]

@rullzer rullzer added this to the Nextcloud 14 milestone Aug 16, 2018
@rullzer rullzer mentioned this pull request Aug 16, 2018
3 tasks
Copy link
Contributor

@denismosolov denismosolov left a comment

Choose a reason for hiding this comment

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

Does this quick change require a unit test?

Else if a preview provider is registerd but not available (for example
missing support in some external lib). It will do 💥. This way the
providers can at least do the sanity checks required.

Signed-off-by: Roeland Jago Douma <[email protected]>
@rullzer rullzer force-pushed the fix/noid/check_if_provider_is_available_before_use branch from ec06b87 to 5b10374 Compare August 17, 2018 18:51
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.

Changes make sense, code looks good 👍

@blizzz blizzz merged commit 4b92a09 into master Aug 20, 2018
@blizzz blizzz deleted the fix/noid/check_if_provider_is_available_before_use branch August 20, 2018 11:21
@MorrisJobke MorrisJobke mentioned this pull request Aug 24, 2018
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.

5 participants