Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0052714
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] Fashionminoralways2023-06-09 13:322023-06-19 17:54
ReporterjoanborrasView Statuspublic 
Assigned ToRetail 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0052714: Columns cannot be shown or hide in a pick and execute window when a relevant characteristic column is part of the fields shown

DescriptionIt's not possible to show or hide columns on a pick and execute window when some relevant characteristic property fields are part of the columns to be shown.
Steps To ReproduceOn a Retail environment install "Retail for Fashion" module
1. Go to The White Valley Client and set attributes "Color" and "Size" as relevant 2. characteristics with the same name
3. On your own module , Edit "Offer Product Selector" windown and add the
   following properties: oBFASHColor and oBFASHSize
4. After compiling and restart the environment Open "Discounts and promotions" and click on "Add products" button
5. Open Google Developer Console
5. Try to hide or show some columns, nothing happens and the following message is shown on the console:

ISC_Combined.js:1411 Uncaught TypeError: Cannot read properties of undefined (reading 'length')
    at _2.getFKFilterAuxiliaryCache (a59690739fce680d0257d2d9f9069322.js:32009:40)
    at _2.setFields (a59690739fce680d0257d2d9f9069322.js:31982:31)
    at _2.isc_ListGrid_hideField [as hideField] (ISC_Combined.js:5426:30)
    at Object.click (ISC_Combined.js:6782:335)
    at _2.isc_Menu_selectMenuItem [as selectMenuItem] (ISC_Combined.js:7270:45)
    at _2.isc_Menu_rowClick [as rowClick] (ISC_Combined.js:7263:148)
    at _2.eval [as rowClick] (eval at isc__makeFunction (ISC_Combined.js:45:122), <anonymous>:3:115)
    at _2.isc_GridRenderer__rowClick [as $29y] (ISC_Combined.js:5046:183)
    at _2.isc_c_Class_invokeSuper [as invokeSuper] (ISC_Combined.js:245:93)
    at _2.isc_c_Class_Super [as Super] (ISC_Combined.js:237:170)
Proposed SolutionTo hide or show the desired columns
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to feature request 0049838 closedcaristu Openbravo ERP Relevant product characteristics property fields 

-  Notes
(0150993)
hgbot (developer)
2023-06-09 13:35

Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/908 [^]
(0151330)
hgbot (developer)
2023-06-19 17:53

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/openbravo [^]
Changeset: 42c7b76bfadad2539c80f150612f2ad76ac32a88
Author: Joan Borras | Practics BS <joan.borras@practicsbs.com>
Date: 19-06-2023 15:53:33
URL: https://gitlab.com/openbravo/product/openbravo/-/commit/42c7b76bfadad2539c80f150612f2ad76ac32a88 [^]

Fixes BUG-52714: Cannot hide or show P&E grid fields having relevant characteristic fields

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-grid.js
---
(0151331)
hgbot (developer)
2023-06-19 17:53

Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/908 [^]

- Issue History
Date Modified Username Field Change
2023-06-09 13:32 joanborras New Issue
2023-06-09 13:32 joanborras Assigned To => Retail
2023-06-09 13:32 joanborras Triggers an Emergency Pack => No
2023-06-09 13:35 hgbot Note Added: 0150993
2023-06-19 17:53 hgbot Resolution open => fixed
2023-06-19 17:53 hgbot Status new => closed
2023-06-19 17:53 hgbot Fixed in Version => PR23Q3
2023-06-19 17:53 hgbot Note Added: 0151330
2023-06-19 17:53 hgbot Note Added: 0151331
2023-06-19 17:54 caristu Relationship added related to 0049838


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker