質問 > 管理機能 > 配送CSVをダウンロード後に受注ステータス変更したい |
管理機能
フラット表示 | 前のトピック | 次のトピック |
投稿者 | スレッド |
---|---|
h_tanaka |
投稿日時: 2018/1/18 10:47
対応状況: −−−
|
神 登録日: 2016/7/22 居住地: 愛媛県 投稿: 1646 |
Re: 配送CSVをダウンロード後に受注ステータス変更したい tsuji 様
上記 ★3 の箇所に次のコードを挿入してみたのですが、次のエラーになってしまいます。。 ■エラー [2018-01-18 10:16:52,243055] admin.ERROR [f448b3c3] [5892b798] [2] [LogListener:onKernelException:115] - Doctrine\ORM\ORMInvalidArgumentException: A new entity was found through the relationship 'Eccube\Entity\Shipping#Order' that was not configured to cascade persist operations for entity: Eccube\Entity\Order@000000007463c263000000007d60586b. To solve this issue: Either explicitly call EntityManager#persist() on this unknown entity or configure cascade persist this association in the mapping for example @ManyToOne(..,cascade={"persist"}). If you cannot find out which entity causes the problem implement 'Eccube\Entity\Order#__toString()' to get a clue. (uncaught exception) at /usr/home/fa2002002/html/vendor/doctrine/orm/lib/Doctrine/ORM/ORMInvalidArgumentException.php line 91 {"exception":"[object] (Doctrine\\ORM\\ORMInvalidArgumentException(code: 0): A new entity was found through the relationship 'Eccube\\Entity\\Shipping#Order' that was not configured to cascade persist operations for entity: Eccube\\Entity\\Order@000000007463c263000000007d60586b. To solve this issue: Either explicitly call EntityManager#persist() on this unknown entity or configure cascade persist this association in the mapping for example @ManyToOne(..,cascade={\"persist\"}). If you cannot find out which entity causes the problem implement 'Eccube\\Entity\\Order#__toString()' to get a clue. at /usr/home/fa2002002/html/vendor/doctrine/orm/lib/Doctrine/ORM/ORMInvalidArgumentException.php:91)"} [GET, /ecadmin/order/export/shipping?, 210.131.156.102, https://livingut.shop/ecadmin/order, Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36] ■挿入したコード
|
フラット表示 | 前のトピック | 次のトピック |
題名 | 投稿者 | 日時 |
---|---|---|
配送CSVをダウンロード後に受注ステータス変更したい | h_tanaka | 2018/1/10 16:07 |
Re: 配送CSVをダウンロード後に受注ステータス変更したい | tsuji | 2018/1/11 11:14 |
Re: 配送CSVをダウンロード後に受注ステータス変更したい | h_tanaka | 2018/1/11 11:22 |
Re: 配送CSVをダウンロード後に受注ステータス変更したい | tsuji | 2018/1/11 11:44 |
» Re: 配送CSVをダウンロード後に受注ステータス変更したい | h_tanaka | 2018/1/18 10:47 |
Re: 配送CSVをダウンロード後に受注ステータス変更したい | tsuji | 2018/1/25 13:41 |
Re: 配送CSVをダウンロード後に受注ステータス変更したい | h_tanaka | 2018/1/25 17:30 |