Daniel Keir Haywood created ISIS-3083:
-----------------------------------------

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


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