소스 검색

product add form fix, undefined index revokeAxicoId

master
Dukai Károly 2 년 전
부모
커밋
6dd1624222
1개의 변경된 파일11개의 추가작업 그리고 1개의 파일을 삭제
  1. +11
    -1
      modules/custom/arlista/src/Form/Product/ProductAdd.php

+ 11
- 1
modules/custom/arlista/src/Form/Product/ProductAdd.php 파일 보기

@@ -350,16 +350,26 @@ class ProductAdd extends ArlistaAbstractForm {
$result = [
'products' => [$product],
'manufacturer' => $this->getManufacturerFactory()->find($this->mid),
'axicoId' => [],
'axicoIdContinued' => 0,
'axicoIdGenerated' => 0,
'axicoIdCopied' => 0,
'axicoIdMissing' => 0,
'axicoIdRevoked' => 0,
'totalCompared' => 0,
'unchanged' => 0,
'changed' => 0,
'newProduct' => 0,
'status' => false,
'productIsManuallyAdded' => true
'totalNumbered' => 0,
'revokeAxicoId' => null,
'productIsManuallyAdded' => true,
'revokedProducts' => [],
'totalActualised' => 0,
'updatedProduct' => 0
];


$result = $this->getProductFactory()->compareProducts($result);
$result = $this->getProductFactory()->createOrFindAxicoIdForEachProduct($result);


Loading…
취소
저장