Skip to content
This repository has been archived by the owner on Dec 13, 2020. It is now read-only.

Manufacturing order - Issue HUs - wrong /quickActions call #706

Closed
teosarca opened this issue May 3, 2017 · 2 comments
Closed

Manufacturing order - Issue HUs - wrong /quickActions call #706

teosarca opened this issue May 3, 2017 · 2 comments

Comments

@teosarca
Copy link
Member

teosarca commented May 3, 2017

Type of issue

Bug

Steps to reproduce

Check Inspect-Network and you will remark a call to https://w101.metasfresh.com:8443/rest/api/documentView/540189/540189-e9186433-e390-4a08-8d4a-48c6afd1815a/quickActions?selectedIds=PP_Order_BOMLine_1000003

which is wrong because:

  • "540189-e9186433-e390-4a08-8d4a-48c6afd1815a" - that's the viewId of the "HUs to issue" included view
  • "PP_Order_BOMLine_1000003" - that's the rowId of the manufacturing order component line

image

Expected behavior

Instead of "selectedIds=PP_Order_BOMLine_1000003" the "HUs to issue" current selected rowId shall be used.

@teosarca teosarca added this to the 2017-19 milestone May 3, 2017
@damianprzygodzki damianprzygodzki self-assigned this May 9, 2017
@damianprzygodzki
Copy link
Contributor

Postponing due to no corruption in visible data.

The call is occuring because the viewId is changing, and few miliseconds later the selection scope is changing.

Hard to quickfix because we have to keep both of QA fetching conditions.

damianprzygodzki added a commit that referenced this issue May 12, 2017
metas-ts added a commit to metasfresh/metasfresh that referenced this issue May 18, 2017
[#391](metasfresh/metasfresh-webui-api-legacy#391) role: besides menu tree, allow configuring the sub-tree to be used
[#706](metasfresh/metasfresh-webui-frontend-legacy#706) Manufacturing order - Issue HUs - wrong /quickActions call

me-45
@metas-lc metas-lc self-assigned this May 23, 2017
@metas-lc
Copy link

IT
repeated the testcase above:

  1. open manufacturing order: https://w101.metasfresh.com:8443/window/53009
  2. select a manufacturing order and call "Issue/Receipt" quick action
  3. select a component line (Type=CO)
  4. run "Issue HUs" quick action
    => Check Inspect-Network and you will remark a call to https://w101.metasfresh.com:8443/rest/api/documentView/540189/540189-3b7da625-5588-49f3-b605-4b105a4a6d00/quickActions?selectedIds=1008967
    where 1008967 is the HU id OK

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

No branches or pull requests

4 participants