Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-7944

Editing a projct configuration corrupts the "Local module directory" setting for subversion repositories

    Details

    • Similar Issues:

      Description

      There is a bug when you edit a project configuration that uses Subversion for your Source Code Management

      It is legal and valid for the "Local module directory (optional)" field to be left empty. However, if you edit any part of the configuration at all, and save it, then Hudson now puts "." (without the quotes) in place of the previously empty value for "Local module directory". This is simply incorrect, since "." means something different from "".

      I noticed this problem immediately after upgrading to Hudson 1.382, and I suspcet it was introduced in that version, although it could have been there earlier.

        Attachments

          Activity

          Hide
          mwebber Matthew Webber added a comment -

          This is a bug in the Subversion plugin version 1.18, released Oct 27, 2010.
          When i reverted to the previosus version 1.17 (which is the version bundled with Hudson 1.382), the problem went away.

          Show
          mwebber Matthew Webber added a comment - This is a bug in the Subversion plugin version 1.18, released Oct 27, 2010. When i reverted to the previosus version 1.17 (which is the version bundled with Hudson 1.382), the problem went away.
          Hide
          mwebber Matthew Webber added a comment - - edited

          This bug was introduced by change http://fisheye.jenkins-ci.org/changelog/Hudson?cs=36206, which added default="." to the HTML for the page. As indicated above, this is wrong, since nothing and "." mean different things.

          Show
          mwebber Matthew Webber added a comment - - edited This bug was introduced by change http://fisheye.jenkins-ci.org/changelog/Hudson?cs=36206 , which added default="." to the HTML for the page. As indicated above, this is wrong, since nothing and "." mean different things.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in hudson
          User: : kohsuke
          Path:
          trunk/hudson/plugins/subversion/src/main/resources/hudson/scm/SubversionSCM/config.jelly
          trunk/hudson/plugins/subversion/src/test/java/hudson/scm/SubversionSCMTest.java
          http://jenkins-ci.org/commit/36396
          Log:
          [FIXED JENKINS-7944] a configuration roundtrip regression.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in hudson User: : kohsuke Path: trunk/hudson/plugins/subversion/src/main/resources/hudson/scm/SubversionSCM/config.jelly trunk/hudson/plugins/subversion/src/test/java/hudson/scm/SubversionSCMTest.java http://jenkins-ci.org/commit/36396 Log: [FIXED JENKINS-7944] a configuration roundtrip regression.

            People

            • Assignee:
              kohsuke Kohsuke Kawaguchi
              Reporter:
              mwebber Matthew Webber
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: