JiraRendererPlugin.transformFromEdit not invoked on comment field

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Low
    • None
    • Affects Version/s: 6.3.12, 7.1.9, 7.2.3
    • Component/s: Java API
    • 6.03
    • 1
    • Severity 3 - Minor
    • 0

      Summary

      When trying to implement the com.atlassian.jira.issue.fields.renderer.JiraRendererPlugin interface in developing a custom renderer, it appears that the transformFromEdit method isn't actually working correctly for Comments.

      Steps to Reproduce

      1. Use attached TestRenderer.java to build add-on JAR
      2. Upload to JIRA
      3. Modify Field Configuration so that Description and Comment renderer is
        "Test Renderer"
      4. Update a Project so that the updated Field Configuration is used.
      5. In that Project, create a new Issue an then comment on it.

      Expected Results

      Description and Comment will both have the text "transformFromEdit" inserted by the Renderer.

      Actual Results

      Only Description has the text modified as expected. Comment only seems to respect transformForEdit.

        1. TestRenderer.java
          3 kB
          Russell Stadler

              Assignee:
              Unassigned
              Reporter:
              Russell Stadler (Inactive)
              Votes:
              3 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: