[
https://issues.apache.org/jira/browse/SHINDIG-1855?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13466487#comment-13466487
]
Stanton Sievers commented on SHINDIG-1855:
------------------------------------------
Erin, can you please review my comments/questions above?
> Gadgets feature list does not traverse dependencies
> ---------------------------------------------------
>
> Key: SHINDIG-1855
> URL: https://issues.apache.org/jira/browse/SHINDIG-1855
> Project: Shindig
> Issue Type: Bug
> Components: Java, Javascript
> Affects Versions: 2.5.0-beta3
> Reporter: Erin Noe-Payne
> Priority: Minor
> Labels: features
>
> When the list of gadget features is processed, only features that are
> required directly from the module prefs are taken into account - the
> dependency tree is not traversed.
> This will cause an issue for the following example:
> - MyGadget requires myCustomFeature.
> - myCustomFeature requires pubsub-2 as a dependency.
> - pubsub-2 is not added the MyGadget's features list
> - When the container checks has_feature('pubsub-2'), it will return false
> - The gadget does not properly implement pubsub-2.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira