Uploaded image for project: 'Confluence Cloud'
  1. Confluence Cloud
  2. CONFCLOUD-13000

addActionError and addFieldError are inconsistent

    XMLWordPrintable

Details

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      NOTE: This suggestion is for Confluence Cloud. Using Confluence Server? 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: