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

Owner saved twice in remove/add job from view in ListView

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Component/s: core
    • Labels:
      None
    • Environment:
      2.77
    • Similar Issues:

      Description

      In ListView.doRemoveJobFromView:

      TopLevelItem item = resolveName(name);
      if (remove(item))
          owner.save();

      If remove success, then save owner, but owner is already saved in remove()

      Also:

      add(item);
      owner.save();

      The add() method already saved the owner ... 

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              liketic Li Ke
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: