ソースを参照

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 ファイルの表示

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


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



読み込み中…
キャンセル
保存