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

Templates are not saved to disk after an edit

    Details

    • Similar Issues:

      Description

      I have created a template and saved it. So far all good.

      Then I edit it and the changes are kept in memory but not saved to disk and when I have to force a restart it starts up with the initial version of the template.

      The current work around is to open the file in a text editor and edit the template in JENKINS_HOME.

      OS: Windows Server 2008 Service pack 1 - it runs as a service
      jenkins: 1.570
      Email Extension Plugin: 2.38.1
      Email Extension Template Plugin: 0.2

      And let me know if you need any additional information (This is the first time i have left the web interface so I have most likely missed to attach some log files but have not been able to locate any that seems to contain information regarding the plugin)

        Attachments

          Activity

          Hide
          slide_o_mix Alex Earl added a comment -

          I'll look into this one soon, for some reason JIRA is not sending out emails, so I wasn't aware of new issues coming in.

          Show
          slide_o_mix Alex Earl added a comment - I'll look into this one soon, for some reason JIRA is not sending out emails, so I wasn't aware of new issues coming in.
          Hide
          slide_o_mix Alex Earl added a comment -

          This is a simple fix, sorry it took so long, just needed to add a call to save() after the template is updated in memory. Should be fixed in 0.3

          Show
          slide_o_mix Alex Earl added a comment - This is a simple fix, sorry it took so long, just needed to add a call to save() after the template is updated in memory. Should be fixed in 0.3
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Alex Earl
          Path:
          pom.xml
          src/main/java/org/jenkinsci/plugins/emailext_template/ExtEmailTemplateManagement.java
          src/main/resources/org/jenkinsci/plugins/emailext_template/ExtendedEmailTemplatePublisher/config.groovy
          src/test/java/org/jeninsci/plugins/emailext_plugin/ExtendedEmailTemplatePublisherTest.java
          http://jenkins-ci.org/commit/emailext-template-plugin/f913d9213d24830625f3eeb63bd768d230dbb4e8
          Log:
          Fix JENKINS-23866

          Added call to descriptor.save()

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Alex Earl Path: pom.xml src/main/java/org/jenkinsci/plugins/emailext_template/ExtEmailTemplateManagement.java src/main/resources/org/jenkinsci/plugins/emailext_template/ExtendedEmailTemplatePublisher/config.groovy src/test/java/org/jeninsci/plugins/emailext_plugin/ExtendedEmailTemplatePublisherTest.java http://jenkins-ci.org/commit/emailext-template-plugin/f913d9213d24830625f3eeb63bd768d230dbb4e8 Log: Fix JENKINS-23866 Added call to descriptor.save()

            People

            • Assignee:
              slide_o_mix Alex Earl
              Reporter:
              neslo thomas olsen
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: