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

Adding a class or package to the Class/Package name field with special characters or space causes an exception

      Issue Summary

      Adding class with special characters or space breaks the viewlog4j view and prompts an exception. This includes leading and trailing spaces

      This is reproducible on Data Center: Yes

      Steps to Reproduce

      1. Navigate to » General configuration » Logging and Profiling.
      2. Add following class to the Class/Package text box.
      3. Click Add entry.

      Expected Results

      Incorrect class is added should be handled gracefully and allow admin to correct.

      Actual Results

      Exception prompts:

      configurelog4j.vm

      </td>
                          <td>
                          <a href="$action.nodeUri("deleteLogEntry.action?toDeleteName=$entry.clazz&#url_xsrfToken()")">Remove</a>
                          </td>
                          </tr>
      

      Workaround

      Restart Confluence to revert temporary logging.

            [CONFSERVER-88071] Adding a class or package to the Class/Package name field with special characters or space causes an exception

            451fa3e2f852 please check the comment from a2879c3b3278 

            "A fix for this issue is available in Confluence Server and Data Center 8.5.15.
            Upgrade now or check out the Release Notes to see what other issues are resolved."

            Anshul Chokhani added a comment - 451fa3e2f852 please check the comment from a2879c3b3278   "A fix for this issue is available in Confluence Server and Data Center 8.5.15. Upgrade  now or check out the  Release Notes to see what other issues are resolved."

            A fix for this issue is available in Confluence Server and Data Center 7.19.27.
            Upgrade now or check out the Release Notes to see what other issues are resolved.

            Jordan Anslow added a comment - A fix for this issue is available in Confluence Server and Data Center 7.19.27. Upgrade now or check out the Release Notes to see what other issues are resolved.

            A fix for this issue is available in Confluence Server and Data Center 8.5.15.
            Upgrade now or check out the Release Notes to see what other issues are resolved.

            Jordan Anslow added a comment - A fix for this issue is available in Confluence Server and Data Center 8.5.15. Upgrade now or check out the Release Notes to see what other issues are resolved.

            A fix for this issue is available in Confluence Data Center 9.0.1.
            Upgrade now or check out the Release Notes to see what other issues are resolved.

            James Whitehead added a comment - A fix for this issue is available in Confluence Data Center 9.0.1. Upgrade now or check out the Release Notes to see what other issues are resolved.

              f8dbc9c9ac45 Anshul Chokhani
              mmadrid@atlassian.com Mark M
              Affected customers:
              1 This affects my team
              Watchers:
              11 Start watching this issue

                Created:
                Updated:
                Resolved: