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

Inconsistent delete button.

    XMLWordPrintable

Details

    Description

      The delete button does not act consistently. When using the plugin for the first time for a project, if you delete the two default metrics and then add your own metrics, you lose the ability to delete them until you save and refresh the page.

      Attachments

        Activity

          pwang25 Podar Wang added a comment - - edited

          I have successfully fixed this issue.
          https://github.com/podarsmarty/cobertura-plugin

          pwang25 Podar Wang added a comment - - edited I have successfully fixed this issue. https://github.com/podarsmarty/cobertura-plugin

          Code changed in jenkins
          User: Po-Dar Wang
          Path:
          src/main/java/hudson/plugins/cobertura/CoberturaBuildAction.java
          src/main/java/hudson/plugins/cobertura/CoberturaPublisher.java
          src/main/java/hudson/plugins/cobertura/MavenCoberturaBuildAction.java
          src/main/java/hudson/plugins/cobertura/MavenCoberturaPublisher.java
          src/main/java/hudson/plugins/cobertura/renderers/SourceEncoding.java
          src/main/java/hudson/plugins/cobertura/targets/CoverageTarget.java
          src/main/java/hudson/plugins/cobertura/targets/CoverageTree.java
          src/main/java/hudson/plugins/cobertura/targets/CoverageTreeElement.java
          src/main/resources/hudson/plugins/cobertura/CoberturaPublisher/config.jelly
          src/main/resources/hudson/plugins/cobertura/CoberturaPublisher/config.properties
          src/test/java/hudson/plugins/cobertura/CoverageResultTest.java
          src/test/resources/hudson/plugins/cobertura/coverage-with-lots-of-data.xml
          http://jenkins-ci.org/commit/cobertura-plugin/1cef2b6890bf3388e7e80f12bbe8588035049403
          Log:
          Fixed bug:
          JENKINS-14589

          Added Features:
          JENKINS-11025
          JENKINS-8326

          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Po-Dar Wang Path: src/main/java/hudson/plugins/cobertura/CoberturaBuildAction.java src/main/java/hudson/plugins/cobertura/CoberturaPublisher.java src/main/java/hudson/plugins/cobertura/MavenCoberturaBuildAction.java src/main/java/hudson/plugins/cobertura/MavenCoberturaPublisher.java src/main/java/hudson/plugins/cobertura/renderers/SourceEncoding.java src/main/java/hudson/plugins/cobertura/targets/CoverageTarget.java src/main/java/hudson/plugins/cobertura/targets/CoverageTree.java src/main/java/hudson/plugins/cobertura/targets/CoverageTreeElement.java src/main/resources/hudson/plugins/cobertura/CoberturaPublisher/config.jelly src/main/resources/hudson/plugins/cobertura/CoberturaPublisher/config.properties src/test/java/hudson/plugins/cobertura/CoverageResultTest.java src/test/resources/hudson/plugins/cobertura/coverage-with-lots-of-data.xml http://jenkins-ci.org/commit/cobertura-plugin/1cef2b6890bf3388e7e80f12bbe8588035049403 Log: Fixed bug: JENKINS-14589 Added Features: JENKINS-11025 JENKINS-8326
          sogabe sogabe added a comment -

          merged. fix in 1.6.

          sogabe sogabe added a comment - merged. fix in 1.6.

          People

            pwang25 Podar Wang
            pwang25 Podar Wang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: