Project

General

Profile

Actions

Bug #4860

closed

composite content view component add seems cumulative

Added by Justin Sherrill about 10 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Web UI
Target version:
Difficulty:
medium
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

On the "Content Views" > "Add" page of a composite content view, click 'add content views' multiple times seems to keep a running list of all IDs sent and keeps sending those. For example:

1. Create a Repo FOO
2. Create 2 content views (A & B), add FOO to both, and publish version 1 of both
3. Create a new composite content view
4. On the content view > Add page of this composite, select both view A & B, and click "Add Content Views"
5. A request is sent to the server with components [4,5] (These are just examples of 2 ids)
6. You will get an error saying there is a repo conflict. So far so good.
7. Un-select View A (So that only View B is listed) from the list and click "Add Content Views" again
8. An error will occur and the list of components will be [4,5,4].

Everytime you click the "Add Content Views" Button, the selection is added to the list of everything previously selected (include duplicates) and sent again.

The error the 2nd time is "An error occurred updating the Content View: has already been taken" which doesn't really make sense, but the browser should only be sending what is actually selected.

Actions #1

Updated by Justin Sherrill about 10 years ago

  • Assignee set to Walden Raines
Actions #2

Updated by Walden Raines about 10 years ago

  • Status changed from New to Assigned
Actions #3

Updated by Walden Raines about 10 years ago

  • Status changed from Assigned to Ready For Testing
Actions #4

Updated by Walden Raines about 10 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

Applied in changeset katello|commit:7252fe04354437b07e1c6827c901c3b1f07c3115.

Actions #5

Updated by Eric Helms almost 10 years ago

  • Triaged changed from No to Yes
Actions #6

Updated by Eric Helms over 9 years ago

  • translation missing: en.field_release set to 13
Actions

Also available in: Atom PDF