Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-13000

addActionError and addFieldError are inconsistent

    XMLWordPrintable

Details

    • We collect Confluence feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: