You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "Dan Haywood (JIRA)" <ji...@apache.org> on 2015/03/25 09:10:54 UTC

[jira] [Created] (ISIS-1113) Vetoing subscribers should be able to provide a translatable reason.

Dan Haywood created ISIS-1113:
---------------------------------

             Summary: Vetoing subscribers should be able to provide a translatable reason.
                 Key: ISIS-1113
                 URL: https://issues.apache.org/jira/browse/ISIS-1113
             Project: Isis
          Issue Type: Improvement
          Components: Core
    Affects Versions: core-1.8.0
            Reporter: Dan Haywood
            Assignee: Dan Haywood
            Priority: Minor
             Fix For: 1.9.0


ie in AbstractDomainEvent, as well as disable(String), there should also be a disable(TranslatableString).  Ditto for validate.

The appropriate facets should check for a translated version of the disabled / invalidate reason first, and translate back using the TranslationService.

If there is no translated version, then the original behaviour (simple string) is should continue to be used instead.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)