When saving "Forms for Confluence", Forms - Textarea, the line breaks used in "initial" value is removed once the macro is saved.

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Medium
    • None
    • Affects Version/s: 8.5.6, 8.5.7, 8.5.10, 8.5.11, 8.5.15, 9.2.5
    • Component/s: Macros - 3rd Party
    • None
    • 6
    • Severity 3 - Minor
    • 1

      Problem

      The issue is a continuation of the bug : https://jira.atlassian.com/browse/CONFSERVER-81271
      Where if line breaks are inserted inside text boxes of 3rd party macros, these line breaks are removed when the macro is saved.

      Environment

      Confluence 8.5.6, 8.5.10

      Steps to Reproduce

      1. Install plugin Forms for Confluence
      2. Create a page and insert the macro "Form Textarea" into the page
      3. Provide values inside the "initial value" text box with multiple lines, such as

      hello
      hello
      hello
      

      5. Save the macro and view the saved page.
      6. During the first save, the line breaks inside the text area will be honoured and will appear as was entered
      7. Edit the page
      8. Edit the macro and check the same text area now and save the page.

      Expected Results

      The text entered inside the macro should have line breaks.
      (Add expected results for current action)

      Actual Results

      Line breaks are removed and the line is displayed as a single sentence.

      Workaround

      None at this point

      Notes

            Assignee:
            Unassigned
            Reporter:
            Sathya Ganeshan
            Votes:
            8 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated: