Dan Haywood created ISIS-1170:
---------------------------------
Summary: Throw a better exception if an class (through programmer
error) has no properties.
Key: ISIS-1170
URL: https://issues.apache.org/jira/browse/ISIS-1170
Project: Isis
Issue Type: Improvement
Components: Core
Affects Versions: core-1.8.0
Reporter: Dan Haywood
Assignee: Dan Haywood
Priority: Trivial
Fix For: 1.9.0
Currently the Wicket viewer will throw an "unauthorized exception". This makes
sense when the object has properties (or collections) but the current user is
not authorized to view any of them.
However, if the domain programmer has made a mistake and the class itself
actually has no properties or collections at all (eg they forgot to add
getters) then we should throw a more meaningful exception to help the
programmer realize their mistake.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)