Skip to content

Newly created Items linked to previous boxId. #84

@CheoR

Description

@CheoR

Expected Behavior

  1. When user navigates from the Box detail page to the Item list page to link a new item to the Box, by default the new item will be linked to the boxId. If the user decides to change the box assignment, the new item should be assigned to user's selected box, not the box from the previous page.

Current Behavior

What is the current behavior?

  1. When user navigates from the Box detail page to the Item list page to link a new item to the Box, by default the new item will be linked to the boxId. If the user decides to change the box assignment, the new item will still be linked to the boxId from the previous page.

Failure Information (for bugs)

Steps to Reproduce

Please provide detailed steps for reproducing the issue.

  1. Create Box.
  2. Go to its detail page by clicking Edit.
  3. In the detail page, select Add Items.
  4. In the Items list page, check the box assignment and add at least 1 new box.
  5. For the newly created Item, click Edit to view its detail page.
  6. In components debugger or in the box assignment fieldset, would say what box item is currently linked to. It will still be the first/previous box.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions