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

「受注管理」で「商品追加」「商品削除」を繰り返えした場合(3つ商品登録し、真ん中の2番目を削除→再度追加)、明細がおかしくなる。 #2023

Closed
t-nagahashi opened this issue Jan 10, 2017 · 1 comment
Assignees
Milestone

Comments

@t-nagahashi
Copy link
Contributor

■対象画面:受注登録/編集
■現象
1, 違う商品を3つ(商品A、商品B、商品C)追加
2, 商品A、商品B、商品Cと並んでいる注文商品から商品Bを削除
3, 商品Bを商品追加モーダルから新たに追加
4, 商品A、商品Bが注文商品に表示されるが商品Cが消えてしまう ←←← 画面の挙動としてはここが問題

■現状把握できている内容
・追加・削除を繰り返した場合にサーバへ送信しているorder[OrderDetail]の
インデックスがJSのレベルでずれてしまっているようです。
・削除した商品のインデックスが詰まっていない?
削除した直後に追加した商品のインデックスが「重複」している(インデックス[2]が複数発生している)

@ryo-endo
Copy link
Contributor

ryo-endo commented Feb 6, 2017

#2053 で修正をmasterに取り込みましたのでCLOSEします。

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

No branches or pull requests

5 participants