[JIRA] [core] (JENKINS-30502) Unable to delete project with trailing whitespace in name

2015-12-07 Thread christopherleesim...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Christopher Simons edited a comment on  JENKINS-30502 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Unable to delete project with trailing whitespace in name  
 
 
 
 
 
 
 
 
 
 I've verified that once a job is renamed to a string with a trailing space, it can be neither deleted nor renamed again (through the UI).  Part of the problem is that the initial rename (to a string with a trailing space) fails to rename the job directory.This problem occurs only when renaming a job, and not when initially creating a job, because job names are trimmed when first created.  It seems a sensible solution would be simply to trim the given job 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. I have submitted a fix for this: Fixed in  [ Pull Request PR  #1855|https://github.com/jenkinsci/jenkins/pull/1855]. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





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


[JIRA] [core] (JENKINS-30502) Unable to delete project with trailing whitespace in name

2015-09-16 Thread u...@rjgodoy.com.ar (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Javier Godoy created an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Jenkins /  JENKINS-30502 
 
 
 
  Unable to delete project with trailing whitespace in name  
 
 
 
 
 
 
 
 
 

Issue Type:
 
  Bug 
 
 
 

Assignee:
 

 Unassigned 
 
 
 

Attachments:
 

 trace.txt 
 
 
 

Components:
 

 core 
 
 
 

Created:
 

 16/Sep/15 11:13 PM 
 
 
 

Environment:
 

 Jenkins ver. 1.629 / Windows 7 (64 bits) / JRE 1.7.0_45-b18 (64 bits)  
 
 
 

Labels:
 

 jenkins exception 
 
 
 

Priority:
 
  Minor 
 
 
 

Reporter:
 
 Javier Godoy 
 
 
 
 
 
 
 
 
 
 
I renamed a (maven) project in Jenkins and the new name ended in a whitespace ("{{name }}"). A directory "name" (*without *the trailing whitespace) was created under jenkins jobs directory. 
Now the project cannot be deleted because Jenkins fails with the following 

[JIRA] [core] (JENKINS-30502) Unable to delete project with trailing whitespace in name

2015-09-16 Thread u...@rjgodoy.com.ar (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Javier Godoy updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Jenkins /  JENKINS-30502 
 
 
 
  Unable to delete project with trailing whitespace in name  
 
 
 
 
 
 
 
 
 

Change By:
 
 Javier Godoy 
 
 
 
 
 
 
 
 
 
 I renamed a (maven) project in Jenkins and the new name ended in a whitespace  ( "{{name }}" ) .A directory "{{name}}" (*without *the trailing whitespace) was created under jenkins jobs directory.Now the project cannot be deleted because Jenkins fails with the following message: Trailing char < > at index 51: C:\Program Files (x86)\Jenkins\jobs\aaa _Exception trace attached. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





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


[JIRA] [core] (JENKINS-30502) Unable to delete project with trailing whitespace in name

2015-09-16 Thread u...@rjgodoy.com.ar (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Javier Godoy updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Jenkins /  JENKINS-30502 
 
 
 
  Unable to delete project with trailing whitespace in name  
 
 
 
 
 
 
 
 
 

Change By:
 
 Javier Godoy 
 
 
 
 
 
 
 
 
 
 I renamed a (maven) project in Jenkins and the new name ended in a whitespace :  " {{ name  }} ".A directory "{{name}}" (*without *the trailing whitespace) was created under jenkins jobs directory.Now the project cannot be deleted because Jenkins fails with the following message: Trailing char < > at index 51: C:\Program Files (x86)\Jenkins\jobs\aaa _Exception trace attached. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





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


[JIRA] [core] (JENKINS-30502) Unable to delete project with trailing whitespace in name

2015-10-03 Thread christopherleesim...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Christopher Simons assigned an issue to Christopher Simons 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Jenkins /  JENKINS-30502 
 
 
 
  Unable to delete project with trailing whitespace in name  
 
 
 
 
 
 
 
 
 

Change By:
 
 Christopher Simons 
 
 
 

Assignee:
 
 Christopher Simons 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





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


[JIRA] [core] (JENKINS-30502) Unable to delete project with trailing whitespace in name

2015-10-05 Thread christopherleesim...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Christopher Simons commented on  JENKINS-30502 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Unable to delete project with trailing whitespace in name  
 
 
 
 
 
 
 
 
 
 
I've verified that once a project is renamed to a string with a trailing space, it can be neither deleted nor renamed again. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





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


[JIRA] [core] (JENKINS-30502) Unable to delete project with trailing whitespace in name

2015-10-05 Thread christopherleesim...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Christopher Simons edited a comment on  JENKINS-30502 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Unable to delete project with trailing whitespace in name  
 
 
 
 
 
 
 
 
 
 I've verified that once a project is renamed to a string with a trailing space, it can be neither deleted nor renamed again.   Part of the problem is that the initial rename (to a string with a trailing space) fails to rename the job directory.  It seems a sensible solution would be simply to trim the job name before saving so that inadvertent leading/trailing whitespace is removed before it can cause problems. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





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


[JIRA] [core] (JENKINS-30502) Unable to delete project with trailing whitespace in name

2015-10-05 Thread christopherleesim...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Christopher Simons edited a comment on  JENKINS-30502 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Unable to delete project with trailing whitespace in name  
 
 
 
 
 
 
 
 
 
 I've verified that once a  project  job  is renamed to a string with a trailing space, it can be neither deleted nor renamed again.  Part of the problem is that the initial rename (to a string with a trailing space) fails to rename the job directory.This problem occurs only when renaming a job, and not when initially creating a job, because upon creation the job name is trimmed.  It seems a sensible solution would be simply to trim the given job for rename operations the same way as is done for creation operations, so that inadvertent leading/trailing whitespace is removed before it can cause problems. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





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


[JIRA] [core] (JENKINS-30502) Unable to delete project with trailing whitespace in name

2015-10-05 Thread christopherleesim...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Christopher Simons edited a comment on  JENKINS-30502 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Unable to delete project with trailing whitespace in name  
 
 
 
 
 
 
 
 
 
 I've verified that once a project is renamed to a string with a trailing space, it can be neither deleted nor renamed again.  Part of the problem is that the initial rename (to a string with a trailing space) fails to rename the job directory. This problem occurs only when renaming a job, and not when initially creating a job, because upon creation the job name is trimmed.   It seems a sensible solution would be simply to trim the  given  job  name before saving  for rename operations the same way as is done for creation operations,  so that inadvertent leading/trailing whitespace is removed before it can cause problems. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





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


[JIRA] [core] (JENKINS-30502) Unable to delete project with trailing whitespace in name

2015-10-05 Thread christopherleesim...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Christopher Simons edited a comment on  JENKINS-30502 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Unable to delete project with trailing whitespace in name  
 
 
 
 
 
 
 
 
 
 I've verified that once a job is renamed to a string with a trailing space, it can be neither deleted nor renamed again.  Part of the problem is that the initial rename (to a string with a trailing space) fails to rename the job directory.This problem occurs only when renaming a job, and not when initially creating a job, because  upon creation the  job  name is  names are  trimmed  when first created .  It seems a sensible solution would be simply to trim the given job for rename operations  the same way  as  is done for creation operations  well , so that inadvertent leading/trailing whitespace is removed before it can cause problems. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





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


[JIRA] [core] (JENKINS-30502) Unable to delete project with trailing whitespace in name

2015-10-05 Thread christopherleesim...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Christopher Simons edited a comment on  JENKINS-30502 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Unable to delete project with trailing whitespace in name  
 
 
 
 
 
 
 
 
 
 I've verified that once a job is renamed to a string with a trailing space, it can be neither deleted nor renamed again.  Part of the problem is that the initial rename (to a string with a trailing space) fails to rename the job directory.This problem occurs only when renaming a job, and not when initially creating a job, because job names are trimmed when first created.  It seems a sensible solution would be simply to trim the given job for rename operations as well, so that  the naming behavior is consistent and  inadvertent leading/trailing whitespace is removed before it can cause problems. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





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


[JIRA] [core] (JENKINS-30502) Unable to delete project with trailing whitespace in name

2015-10-05 Thread christopherleesim...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Christopher Simons edited a comment on  JENKINS-30502 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Unable to delete project with trailing whitespace in name  
 
 
 
 
 
 
 
 
 
 I've verified that once a job is renamed to a string with a trailing space, it can be neither deleted nor renamed again.  Part of the problem is that the initial rename (to a string with a trailing space) fails to rename the job directory.This problem occurs only when renaming a job, and not when initially creating a job, because job names are trimmed when first created.  It seems a sensible solution would be simply to trim the given job for rename operations as well, so that the  naming  name-setting  behavior is consistent  across create/update operations  and inadvertent leading/trailing whitespace is removed before it can cause problems. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





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


[JIRA] [core] (JENKINS-30502) Unable to delete project with trailing whitespace in name

2015-10-05 Thread christopherleesim...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Christopher Simons started work on  JENKINS-30502 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 

Change By:
 
 Christopher Simons 
 
 
 

Status:
 
 Open In Progress 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





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


[JIRA] [core] (JENKINS-30502) Unable to delete project with trailing whitespace in name

2015-10-05 Thread christopherleesim...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Christopher Simons edited a comment on  JENKINS-30502 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Unable to delete project with trailing whitespace in name  
 
 
 
 
 
 
 
 
 
 I've verified that once a job is renamed to a string with a trailing space, it can be neither deleted nor renamed again  (through the UI) .  Part of the problem is that the initial rename (to a string with a trailing space) fails to rename the job directory.This problem occurs only when renaming a job, and not when initially creating a job, because job names are trimmed when first created.  It seems a sensible solution would be simply to trim the given job 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. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





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


[JIRA] [core] (JENKINS-30502) Unable to delete project with trailing whitespace in name

2015-10-05 Thread christopherleesim...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Christopher Simons edited a comment on  JENKINS-30502 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Unable to delete project with trailing whitespace in name  
 
 
 
 
 
 
 
 
 
 I've verified that once a job is renamed to a string with a trailing space, it can be neither deleted nor renamed again (through the UI).  Part of the problem is that the initial rename (to a string with a trailing space) fails to rename the job directory.This problem occurs only when renaming a job, and not when initially creating a job, because job names are trimmed when first created.  It seems a sensible solution would be simply to trim the given job 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. I have submitted a fix for this: [https://github.com/jenkinsci/jenkins/pull/1855|Pull Request #1855]. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





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


[JIRA] [core] (JENKINS-30502) Unable to delete project with trailing whitespace in name

2015-10-05 Thread christopherleesim...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Christopher Simons stopped work on  JENKINS-30502 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 

Change By:
 
 Christopher Simons 
 
 
 

Status:
 
 In Progress Open 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





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


[JIRA] [core] (JENKINS-30502) Unable to delete project with trailing whitespace in name

2015-10-05 Thread christopherleesim...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Christopher Simons edited a comment on  JENKINS-30502 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Unable to delete project with trailing whitespace in name  
 
 
 
 
 
 
 
 
 
 I've verified that once a job is renamed to a string with a trailing space, it can be neither deleted nor renamed again (through the UI).  Part of the problem is that the initial rename (to a string with a trailing space) fails to rename the job directory.This problem occurs only when renaming a job, and not when initially creating a job, because job names are trimmed when first created.  It seems a sensible solution would be simply to trim the given job 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.I have submitted a fix for this: [ Pull Request #1855| https://github.com/jenkinsci/jenkins/pull/1855 |Pull Request #1855 ]. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





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


[JIRA] [core] (JENKINS-30502) Unable to delete project with trailing whitespace in name

2015-10-06 Thread christopherleesim...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Christopher Simons resolved as Fixed 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Jenkins /  JENKINS-30502 
 
 
 
  Unable to delete project with trailing whitespace in name  
 
 
 
 
 
 
 
 
 

Change By:
 
 Christopher Simons 
 
 
 

Status:
 
 Open Resolved 
 
 
 

Resolution:
 
 Fixed 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





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


[JIRA] [core] (JENKINS-30502) Unable to delete project with trailing whitespace in name

2015-10-17 Thread scm_issue_l...@java.net (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 SCM/JIRA link daemon commented on  JENKINS-30502 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Unable to delete project with trailing whitespace in name  
 
 
 
 
 
 
 
 
 
 
Code changed in jenkins User: Christopher Simons Path: core/src/main/java/hudson/model/Job.java test/src/test/java/hudson/model/JobTest.java http://jenkins-ci.org/commit/jenkins/89ce85dfc88b21cdb7a8bc95d89b24259b987d19 Log: [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. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





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


[JIRA] [core] (JENKINS-30502) Unable to delete project with trailing whitespace in name

2015-10-17 Thread scm_issue_l...@java.net (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 SCM/JIRA link daemon commented on  JENKINS-30502 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Unable to delete project with trailing whitespace in name  
 
 
 
 
 
 
 
 
 
 
Code changed in jenkins User: Oleg Nenashev Path: core/src/main/java/hudson/model/Job.java test/src/test/java/hudson/model/JobTest.java http://jenkins-ci.org/commit/jenkins/67879ab2327f0a3fd4015f5f9ff53cf0a5b7ef08 Log: 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 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





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


[JIRA] [core] (JENKINS-30502) Unable to delete project with trailing whitespace in name

2015-10-17 Thread scm_issue_l...@java.net (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 SCM/JIRA link daemon commented on  JENKINS-30502 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Unable to delete project with trailing whitespace in name  
 
 
 
 
 
 
 
 
 
 
Code changed in jenkins User: Oleg Nenashev Path: changelog.html http://jenkins-ci.org/commit/jenkins/3bc0f447efd5b5abca466881949106f19c8b9ebf Log: Noting 

JENKINS-30502
 from #1855 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





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


[JIRA] [core] (JENKINS-30502) Unable to delete project with trailing whitespace in name

2015-10-17 Thread dogf...@java.net (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 dogfood commented on  JENKINS-30502 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Unable to delete project with trailing whitespace in name  
 
 
 
 
 
 
 
 
 
 
Integrated in  jenkins_main_trunk #4328 [FIXED JENKINS-30502] trim job name upon rename (Revision 89ce85dfc88b21cdb7a8bc95d89b24259b987d19) Noting 

JENKINS-30502
 from #1855 (Revision 3bc0f447efd5b5abca466881949106f19c8b9ebf) 
 Result = SUCCESS christopherleesimons : 89ce85dfc88b21cdb7a8bc95d89b24259b987d19 Files :  
 

test/src/test/java/hudson/model/JobTest.java
 

core/src/main/java/hudson/model/Job.java
 
 
o.v.nenashev : 3bc0f447efd5b5abca466881949106f19c8b9ebf Files :  
 

changelog.html
 
 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





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