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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • core
    • None
    • 2.77

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

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

              Created:
              Updated: