You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by "Adam Winer (JIRA)" <ji...@apache.org> on 2009/02/18 20:18:02 UTC

[jira] Reopened: (SHINDIG-924) Should not allow registration of two features with the same name

     [ https://issues.apache.org/jira/browse/SHINDIG-924?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Adam Winer reopened SHINDIG-924:
--------------------------------


This isn't really a bug - as annoying as it is to accidentally overwrite a feature, it's important functionality too:  this is needed to allow Orkut (for example) to append custom Javascript to the opensocial-0.8 feature.

> Should not allow registration of two features with the same name
> ----------------------------------------------------------------
>
>                 Key: SHINDIG-924
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-924
>             Project: Shindig
>          Issue Type: Bug
>          Components: Java
>            Reporter: Bob Evans
>            Priority: Minor
>             Fix For: trunk
>
>         Attachments: fix-924-bug.patch
>
>
> It seems there is never a good reason to register two features with the same name. Actually, the code allowing it  causes feature developers to make mistakes -- trust me. Throw an IllegalArgumentException if a second feature with the same name is registered.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.