Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0046411 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
backport | [POS2] POS | major | always | 2021-04-26 12:34 | 2021-05-10 08:14 | |||
Reporter | jmelin | View Status | public | |||||
Assigned To | ranjith_qualiantech_com | |||||||
Priority | urgent | Resolution | fixed | Fixed in Version | TAP | |||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | TAP | |||
OS | Linux 64 bit | Database | PostgreSQL | Java version | 7.x | |||
OS Version | Openbravo Appliance 14.04 | Database version | 9.3.x | Ant version | 1.9.x | |||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | guilleaer | |||||||
OBNetwork customer | Gold | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0046411: JIRA 1731 - BP Assignation - message 'Cannot read property 'properties' of undefined' | |||||||
Description | This issue can not be reproduced on livebuild because the restaurant filter is not available. | |||||||
Steps To Reproduce | 1. Connect to POS 2. Search for a customer without changing the value in the YES/NO combo. - Check that the result is correctly showed 3. Open the YES/NO combo and select the Default value - Check that the error in the image (Cannot read property 'properties' of undefined) is showed. In the Chrome Dev tools we can see that the failing row is the one marked in *** const searchBusinessPartners = async formState => { let filters = {}; const filterValues = formState.fields; // filterValues keep in handler because it is necessary recover filterValues when back to search customerSelectorHandler.setFilterValues(filterValues); if (filterValues) { *** filters = Object.entries(filterValues).map(([key, value]) => { const foundComponent = formState.componentList.find( component => component.properties.name === key ); return { column: key, hqlFilter: undefined, isId: undefined, operator: '=', value: value.value, label: foundComponent.properties.label }; }); } The error in the console is: VM943:1 Uncaught ReferenceError: filterValues is not defined at eval (eval at <anonymous> (CustomerSelector.jsx:82), <anonymous>:1:16) at CustomerSelector.jsx:82 at Array.map (<anonymous>) at Ie.l.addFormAction.validateForm (CustomerSelector.jsx:72) at Ce.execute (FormHandler.js:133) at A (BaseForm.jsx:388)3 | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
||||||||
|
![]() |
|
(0127769) guilleaer (viewer) 2021-05-04 12:13 |
https://gitlab.com/obcustomers/AGAP/org.openbravo.core2/-/merge_requests/5/diffs?commit_id=35cc1a1a798bc10873c369d4fab56be84d6563ec [^] |
(0127770) ranjith_qualiantech_com (viewer) 2021-05-04 12:29 |
Fixed in https://gitlab.com/obcustomers/AGAP/org.openbravo.core2/-/commit/dd56bb5cfccf53b289a4146dab86a98f0992f112 [^] |
![]() |
|||
Date Modified | Username | Field | Change |
2021-04-29 10:29 | guilleaer | Type | defect => backport |
2021-04-29 10:29 | guilleaer | Target Version | => TAP |
2021-05-04 12:13 | guilleaer | Note Added: 0127769 | |
2021-05-04 12:29 | ranjith_qualiantech_com | Note Added: 0127770 | |
2021-05-04 12:29 | ranjith_qualiantech_com | Status | scheduled => resolved |
2021-05-04 12:29 | ranjith_qualiantech_com | Resolution | open => fixed |
2021-05-10 08:14 | guilleaer | Review Assigned To | => guilleaer |
2021-05-10 08:14 | guilleaer | Status | resolved => closed |
2021-05-10 08:14 | guilleaer | Fixed in Version | => TAP |
Copyright © 2000 - 2009 MantisBT Group |