You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "Ben Weidig (Jira)" <ji...@apache.org> on 2022/07/25 13:41:00 UTC
[jira] [Assigned] (TAP5-2738) @Cached should throw a more sensible exception if field is mising
[ https://issues.apache.org/jira/browse/TAP5-2738?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ben Weidig reassigned TAP5-2738:
--------------------------------
Assignee: Ben Weidig
> @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
> Assignee: Ben Weidig
> Priority: Minor
>
> 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)