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

Daniel Keir Haywood commented on ISIS-3083:
-------------------------------------------

Again, probably not for 2.0.0, adding it to this release to be triaged.

> Vetoed instances of objects should not be rendered a "(none)"; instead "not 
> authorised" or "not available" would be better
> --------------------------------------------------------------------------------------------------------------------------
>
>                 Key: ISIS-3083
>                 URL: https://issues.apache.org/jira/browse/ISIS-3083
>             Project: Isis
>          Issue Type: Bug
>            Reporter: Daniel Keir Haywood
>            Priority: Major
>             Fix For: 2.0.0
>
>
> For example, support we have a Party superclass, Person and Organisation as 
> subclasses.
> We choose to allow the user to access Party, but then have a veto on 
> Organisation.
> What we would expect is that the property of type PArty is rendered, and if 
> it contains a Person, then show the title of the Person, but if it contains 
> an Organisation, then show either "not authorised" or "not available".
> However, we currently see "(none)".
>  
> Our guess is that the veto is returning null, which is being translated to 
> "(none)".  We need to extend the contract of the vetoers in order to 
> distinguish null = there isn't one, vs null = not telling you if there is one.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to