addActionError and addFieldError are inconsistent

XMLWordPrintable

      NOTE: This suggestion is for Confluence Server. Using Confluence Cloud? See the corresponding suggestion.

      At the moment we have implemented addActionError and addFieldError in ConfluenceActionSupport so that it automatically calls getText()

      addActionError(String textKey, Object[] args)
      addFieldError(String fieldName, String textKey, Object[] args)
      

      However we do not implement these equivalent classes:

      public void addActionError(String textKey)
      public void addFieldError(String fieldName, String textKey)
      

      This leads to inconsistent uses of the 2 methods across Confluence. At the time of creating this issue there were 110 inconsistent references.

            Assignee:
            Unassigned
            Reporter:
            Brian Nguyen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: