Uploaded image for project: 'GitLab Application'
  1. GitLab Application
  2. XGITLAB-35

Filter list can be badly splitted when calling the macro GitLab macro

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • 2.4
    • 2.3
    • None
    • Unknown

    Description

      The current GitLab macro contains the following code for splitting the macro content and defining multiple fields that should create restrictions.

            def issueFilterList = xcontext.macro.content.split('\r\n');
      

      However, it turns out that the WYSIWYG editor could also generate \n for creating carriage returns instead of \r\n, thus breaking the macros.

      Attachments

        Activity

          People

            ludovic Ludovic Dubost
            caubin Clément Aubin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: