You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by "Steve Lawrence (Jira)" <ji...@apache.org> on 2025/05/23 14:40:00 UTC

[jira] [Created] (DAFFODIL-2999) Remove Diagnostic.getMessageOnly, move behavior to getMessage

Steve Lawrence created DAFFODIL-2999:
----------------------------------------

             Summary: Remove Diagnostic.getMessageOnly, move behavior to getMessage
                 Key: DAFFODIL-2999
                 URL: https://issues.apache.org/jira/browse/DAFFODIL-2999
             Project: Daffodil
          Issue Type: Task
          Components: API
            Reporter: Steve Lawrence
             Fix For: 4.0.0


DAFFODIL-2984 added a getMessageOnly function to get just the message instead of the message + mode + schema location + data location.

Really, getMessage wants to provide this functionality, but the new function was added to ensure backwards compatiblity. Daffodil 4.0.0 will break compatiblity with a number of APIs, so as part of 4.0.0 we should remove getMessageOnly and change getMessage so it returns just the message. We'll need to make sure to document this part of the migration guide.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)