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

Double click on attributes in orderline #1557

Closed
metas-lc opened this issue Feb 5, 2018 · 3 comments
Closed

Double click on attributes in orderline #1557

metas-lc opened this issue Feb 5, 2018 · 3 comments

Comments

@metas-lc
Copy link

metas-lc commented Feb 5, 2018

Is this a bug or feature request?

bug

What is the current behavior?

Sometimes all attributes are selected

Which are the steps to reproduce?

  1. open sales order (window/143)
  2. create a new one, add bpartner and product
  3. on product line, double click on attributes (multiple times for the error)
    => sometimes all attributes are selected (can't reproduce it each time)
    image

note: the following error appears only if you select the attributes button multiple times
=> error and empty window

AttributesDropdown.js:94` Uncaught (in promise) TypeError: Cannot read property '1000002' of null
    at item.fields.map.elem (AttributesDropdown.js:94)
    at Array.map (<anonymous>)
    at layout.map (AttributesDropdown.js:94)
    at Array.map (<anonymous>)
    at AttributesDropdown.value [as renderFields] (AttributesDropdown.js:93)
    at AttributesDropdown.render (AttributesDropdown.js:126)
    at h (react-dom.production.min.js:130)
    at beginWork (react-dom.production.min.js:133)
    at d (react-dom.production.min.js:161)
    at f `(react-dom.production.min.js:161)

What is the expected or desired behavior?

no errors, attributes shall not be selected

@metas-lc metas-lc added this to the Backlog milestone Feb 5, 2018
@siemiatj
Copy link
Contributor

siemiatj commented Feb 6, 2018

Double click on attributes in the dropdown, or the attributes field in the table ?

@metas-lc
Copy link
Author

metas-lc commented Feb 6, 2018

on the button in orderline (red rectangle in my pic)

@siemiatj siemiatj self-assigned this Feb 6, 2018
metas-mk added a commit to metasfresh/metasfresh that referenced this issue Mar 11, 2018
New Issue added
metasfresh/metasfresh-webui-frontend-legacy#1557
Double click on attributes in orderline
@metas-lc metas-lc self-assigned this Mar 12, 2018
@metas-lc
Copy link
Author

IT
repeated the testcase above
=> the attributes were not selected, no errors 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