Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0047320Openbravo ERPA. Platformpublic2021-07-02 11:262021-07-15 08:27
caristu 
alostale 
normalminorhave not tried
closedfixed 
5
 
PR21Q4 
Core
No
0047320: In saved views the uuid value is shown in the filter of some FK fields
In saved views the uuid value is shown in the filter of some FK fields instead of showing the referenced record identifier.

This occurs in filters that are in fields in subtabs that are not in the first position.
0- Activate your instance with a professional instance in order to enable the "saved view" feature
1- Login using the "White Valley Group Admin" role
2- Go to the Product window
3- In the header filter by the following fields:
   - Name: Basecamp lantern with legs
   - Product Category: Lighting & Electronics
4- Switch to the Transactions sub tab and filter by Goods Shipment/Receipt Line field using the filter drop down
5- Save the view, setting it as default
6- Close the window
7- Open the Product window again, note that the saved view is applied but in the filter of the Goods Shipment/Receipt Line field the uuid of the document is displayed instead of its identifier (see attached image)
No tags attached.
related to backport 00302963.0PR15Q2.3 closed caristu In saved views with multiple criteria in one field, the uuid value is shown in the column header when filtering sometimes 
related to defect 0037872 closed caristu Error when opening a child tab, which have filters applied, from another window 
png uuid.png (163,323) 2021-07-02 11:26
https://issues.openbravo.com/file_download.php?file_id=15984&type=bug
png
Issue History
2021-07-02 11:26caristuNew Issue
2021-07-02 11:26caristuAssigned To => platform
2021-07-02 11:26caristuFile Added: uuid.png
2021-07-02 11:26caristuModules => Core
2021-07-02 11:26caristuTriggers an Emergency Pack => No
2021-07-02 11:27caristuRelationship addedrelated to 0030296
2021-07-13 07:18alostaleRelationship addedrelated to 0037872
2021-07-13 07:28alostaleStatusnew => scheduled
2021-07-13 07:28alostaleAssigned Toplatform => alostale
2021-07-13 07:32alostaleDescription Updatedbug_revision_view_page.php?rev_id=22870#r22870
2021-07-13 07:45hgbotNote Added: 0130394
2021-07-15 08:27hgbotNote Added: 0130490
2021-07-15 08:27hgbotResolutionopen => fixed
2021-07-15 08:27hgbotStatusscheduled => closed
2021-07-15 08:27hgbotFixed in Version => PR21Q4
2021-07-15 08:27hgbotNote Added: 0130491

Notes
(0130394)
hgbot   
2021-07-13 07:45   
Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/412 [^]
(0130490)
hgbot   
2021-07-15 08:27   
Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/412 [^]
(0130491)
hgbot   
2021-07-15 08:27   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/openbravo [^]
Changeset: f98a3f3d422628f9e529256cfd1ad36af4645887
Author: Asier Lostalé <asier.lostale@openbravo.com>
Date: 2021-07-15T06:26:50+00:00
URL: https://gitlab.com/openbravo/product/openbravo/-/commit/f98a3f3d422628f9e529256cfd1ad36af4645887 [^]

fixes BUG-47320: saved views display uuid for some FK filters

When a saved view included a filter by ID in a FK field that belongs to
a subtab that is not the first subtab of the root tab, the uuid instead
of the identifier was displayed.

This occurred because even the view was properly saved including the
current identifier for the filtered IDs, when it was applied it assumed
the filter editor was always already created to apply this cached
informantion. As tabs are lazyly created this is only true for the root
tab and its first child, but not for the rest. In these cases cache was
not applied displaying the uuid intead of the identifier.

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-view-grid.js
---