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 possible twig error in updater if support is defined but no email #10501

Merged
merged 1 commit into from Sep 14, 2016

Conversation

tsteur
Copy link
Member

@tsteur tsteur commented Sep 14, 2016

See eg http://builds-artifacts.piwik.org/piwik/piwik/10380/19911/ errors. If a plugin defines in plugin.json eg

support: {"issues": "..."}

it will fail because support is defined but no email. This can break the updater.

@tsteur tsteur added the Needs Review PRs that need a code review label Sep 14, 2016
@tsteur tsteur added this to the 2.16.3 milestone Sep 14, 2016
@tsteur tsteur added the Bug For errors / faults / flaws / inconsistencies etc. label Sep 14, 2016
@sgiehl
Copy link
Member

sgiehl commented Sep 14, 2016

LGTM. Guess that needs to be fixed for 3.x as well?

@tsteur
Copy link
Member Author

tsteur commented Sep 14, 2016

Yes, I have actually fixed it there directly in https://github.com/piwik/piwik/pull/10497/files#diff-6edb1c8f47dc8cbca0e88a41c1943137L108 to make the tests work. I removed it all because plugins are usually from Marketplace anyway and we do not want users to email us to get a copy

@tsteur tsteur merged commit 7a2f3c5 into 2.x-dev Sep 14, 2016
@tsteur tsteur deleted the metadatasupportfix branch September 14, 2016 20:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc. Needs Review PRs that need a code review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants