[JIRA] [core] (JENKINS-24657) Unable to remove logRotator entries when updating a job by POSTing config.xml

2014-09-10 Thread dan...@beckweb.net (JIRA)















































Daniel Beck
 resolved  JENKINS-24657 as Duplicate


Unable to remove logRotator entries when updating a job by POSTing config.xml
















While the affected field is a different one (displayName is another candidate), this essentially duplicates JENKINS-21017.





Change By:


Daniel Beck
(10/Sep/14 7:34 PM)




Status:


Open
Resolved





Resolution:


Duplicate



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
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-24657) Unable to remove logRotator entries when updating a job by POSTing config.xml

2014-09-10 Thread rwsmit...@gmail.com (JIRA)














































Ryan Smith
 commented on  JENKINS-24657


Unable to remove logRotator entries when updating a job by POSTing config.xml















After some investigation, it looks like a limitation of XStream that you can't set things to null by removing it from XML or by entering special XML to achieve it.

http://stackoverflow.com/questions/20668266/xstream-null-out-fields-not-mentioned-in-xml-during-in-place-unmarshal



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
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-24657) Unable to remove logRotator entries when updating a job by POSTing config.xml

2014-09-10 Thread rwsmit...@gmail.com (JIRA)














































Ryan Smith
 created  JENKINS-24657


Unable to remove logRotator entries when updating a job by POSTing config.xml















Issue Type:


Bug



Assignee:


Unassigned


Components:


core



Created:


10/Sep/14 3:53 PM



Description:


1. HTTP GET the config.xml of a job from Jenkins.
2. Remove all logRotator elements from the document.
3. HTTP POST the config.xml to Jenkins.

The POST succeeds, successive GETs of the config.xml will not have the elements, but the UI displays that it is configured with the settings.




Project:


Jenkins



Priority:


Major



Reporter:


Ryan Smith

























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
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.