Ben Weidig created TAP5-2738:
--------------------------------
Summary: @Cached should throw a more sensible exception if field
is mising
Key: TAP5-2738
URL: https://issues.apache.org/jira/browse/TAP5-2738
Project: Tapestry 5
Issue Type: Improvement
Components: tapestry-core
Affects Versions: 5.8.1
Reporter: Ben Weidig
The value of the annotation is String-based and therefore error-prone,
especially during refactoring, etc.
Currently, the thrown exception is only saying that a field is missing, and the
CachedWorker is only visible in the Stacktrace.
I suggest the worker should catch the exception/missing binding, and rethrow
with a better message.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)