Patch avoiding the need for a horizontal scrollbar in the browser

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      When for example on /hudson/configure the executables sh or cvs can't be located
      the error message might cause a horizontal scrollbar to appear in the browser if
      the PATH is rather long. This is rather annoying if you then open an elaborate
      help text which requires a lot of scrolling left and right.

      This patch makes use of the tokenized diretories to create a ', ' separate list
      to allow the browser to wrap the line easier.

      When I tested this patch I noticed that the QuotedStringTokenizer mangled my
      windows directory paths. C:\WINDOWS\system32 came out as C:WINDOWSsystem32.
      Which explained why it couldn't locate cvs even when it is on the path. I
      patched this also in the FormFieldValidator by replace \ with
      just before the
      PATH is tokenized. This does the trick. But the question remains if this
      problem occurs in other situations?

            Assignee:
            jjasper
            Reporter:
            jjasper
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: