You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "Dan Haywood (JIRA)" <ji...@apache.org> on 2012/09/11 09:31:07 UTC

[jira] [Created] (ISIS-266) BoundedFacetAbstract was invalidating using disabledReason()

Dan Haywood created ISIS-266:
--------------------------------

             Summary: BoundedFacetAbstract was invalidating using disabledReason()
                 Key: ISIS-266
                 URL: https://issues.apache.org/jira/browse/ISIS-266
             Project: Isis
          Issue Type: Bug
          Components: Core: MetaModel
    Affects Versions: 0.2.0-incubating
            Reporter: Dan Haywood
            Assignee: Dan Haywood
            Priority: Minor
             Fix For: 0.3.1-incubating


The BoundedFacet indicates that the permissible values are taken from a bounded set; eg an enum or similar.  This is used by viewers to render drop-downs.

The BoundedFacetAbstract does validate values, but should only check the type of the instance.   The current implementation was incorrectly preventing any change to the value at all.

--
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

[jira] [Resolved] (ISIS-266) BoundedFacetAbstract was invalidating using disabledReason()

Posted by "Dan Haywood (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ISIS-266?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dan Haywood resolved ISIS-266.
------------------------------

    Resolution: Fixed

r1383280 
                
> BoundedFacetAbstract was invalidating using disabledReason()
> ------------------------------------------------------------
>
>                 Key: ISIS-266
>                 URL: https://issues.apache.org/jira/browse/ISIS-266
>             Project: Isis
>          Issue Type: Bug
>          Components: Core: MetaModel
>    Affects Versions: 0.2.0-incubating
>            Reporter: Dan Haywood
>            Assignee: Dan Haywood
>            Priority: Minor
>             Fix For: 0.3.1-incubating
>
>
> The BoundedFacet indicates that the permissible values are taken from a bounded set; eg an enum or similar.  This is used by viewers to render drop-downs.
> The BoundedFacetAbstract does validate values, but should only check the type of the instance.   The current implementation was incorrectly preventing any change to the value at all.

--
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