Branch: refs/heads/master
  Home:   https://github.com/jenkinsci/jenkins
  Commit: 89ce85dfc88b21cdb7a8bc95d89b24259b987d19
      
https://github.com/jenkinsci/jenkins/commit/89ce85dfc88b21cdb7a8bc95d89b24259b987d19
  Author: Christopher Simons <christopher.sim...@viaoncology.com>
  Date:   2015-10-08 (Thu, 08 Oct 2015)

  Changed paths:
    M core/src/main/java/hudson/model/Job.java
    M test/src/test/java/hudson/model/JobTest.java

  Log Message:
  -----------
  [FIXED JENKINS-30502] trim job name upon rename

If a job is renamed to a string with trailing whitespace, exceptions are
thrown as the application attempts to rename the job directory in the
file system, and the job can be neither deleted nor renamed again
through the UI. This problem occurs only when renaming a job, and not
when initially creating a job, because job names are trimmed when first
created.  This change trims the job name for rename operations as well,
so that the name-setting behavior is consistent across create/update
operations and inadvertent leading/trailing whitespace is removed before
it can cause problems.


  Commit: 67879ab2327f0a3fd4015f5f9ff53cf0a5b7ef08
      
https://github.com/jenkinsci/jenkins/commit/67879ab2327f0a3fd4015f5f9ff53cf0a5b7ef08
  Author: Oleg Nenashev <o.v.nenas...@gmail.com>
  Date:   2015-10-17 (Sat, 17 Oct 2015)

  Changed paths:
    M core/src/main/java/hudson/model/Job.java
    M test/src/test/java/hudson/model/JobTest.java

  Log Message:
  -----------
  Merge pull request #1855 from csimons/fix-rename-trailing-whitespace

[FIXED JENKINS-30502] trim job name upon rename


Compare: 
https://github.com/jenkinsci/jenkins/compare/a0eb564cf930...67879ab2327f

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-commits+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to