You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Emond Papegaaij (JIRA)" <ji...@apache.org> on 2012/07/11 08:47:34 UTC

[jira] [Commented] (WICKET-4651) Null BroadCaster in EventBus

    [ https://issues.apache.org/jira/browse/WICKET-4651?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13411278#comment-13411278 ] 

Emond Papegaaij commented on WICKET-4651:
-----------------------------------------

I agree that the current approach is not very flexible. What do you suggest to change this to? Should I use BroadcasterFactory.lookupAll and simply take the first or should I make the id (mapping) configurable? Do you think it makes sense to allow multiple broadcasters?
                
> Null BroadCaster in EventBus
> ----------------------------
>
>                 Key: WICKET-4651
>                 URL: https://issues.apache.org/jira/browse/WICKET-4651
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-atmosphere
>    Affects Versions: 6.0.0-beta2
>            Reporter: Pouyan Zaxar
>            Assignee: Emond Papegaaij
>            Priority: Blocker
>   Original Estimate: 1m
>  Remaining Estimate: 1m
>
> Line 85 of EventBus.java tries to fetch broadcaster for mapping "/*", however it returns null if you have configured atmosphere using "org.atmosphere.mapping" to another mapping rather than "/*".
> Having a null broadcaster simply breaks the post method and as a result the whole module.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira