• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • cobertura-plugin
    • None

      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.

          [JENKINS-14589] Inconsistent delete button.

          Podar Wang added a comment - - edited

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

          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/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 added a comment -

          merged. fix in 1.6.

          sogabe added a comment - merged. fix in 1.6.

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

              Created:
              Updated:
              Resolved: