Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Source list is empty on SSA page on order with configurable with custom options #1912

Closed
IvanPletnyov opened this issue Nov 16, 2018 · 2 comments
Assignees
Milestone

Comments

@IvanPletnyov
Copy link
Contributor

IvanPletnyov commented Nov 16, 2018

Preconditions

  1. Magento 2 with MSI
  2. Create three custom sources
  3. Create custom stock with assigned created sources and assigned "main website"
  4. Create configurable product with two options (black and white) with assigned custom sources.
  5. On configurable product create two custom options

Steps to reproduce

  1. Create order with option black and choice custom options
  2. Click "Ship" button

Expected result

  1. On SSA page we can see all assigned sources
  2. We can create shipping

Actual result

  1. On SSA page source list is empty
  2. After pressing "Source selection Algorithm" button we get never ending preloader
  3. We can't create shipping for order

Additional media

  1. Gif
    configurable proof

  2. SSA page
    image

  3. Order
    image

  4. Product grid
    image

  5. Custom options
    image

@maghamed maghamed added this to the MSI Part II milestone Nov 16, 2018
@maghamed maghamed modified the milestones: MSI Part II, MSI Part III Nov 16, 2018
@SergeyP18 SergeyP18 self-assigned this Nov 21, 2018
@vickdoan
Copy link

@SergeyP18 I think the issue was caused by SKU of child products. It includes the custom option SKU and the system cannot find right item.

File: Magento\InventoryShippingAdminUi\Controller\Adminhtml\SourceSelection\ProcessAlgorithm.php - the execute() function

$requestItems[] = $this->itemRequestFactory->create([
'sku' => $data['sku'],
'qty' => $data['qty']
]);

@ishakhsuvarov
Copy link
Contributor

Closing, as fix is delivered to 2.3-develop branch.

Thanks @VitaliyBoyko

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants