-
Type: Bug
-
Status: Resolved
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 3.1.x, 3.0.31
-
Component/s: Web UI
-
Release Notes Summary:Saved Search restoration/execution with hierarchical vocabularies works with any number of levels.
-
Tags:
-
Backlog priority:800
-
Sprint:UI - 2024-6
-
Story Points:5
This ticket is the following of WEBUI-1386 which provided a proper fix for hierarchical vocabularies with 2 levels.
Pre-requisite: install the attached jar to nxserver/plugins
Steps to reproduce:
- Navigate to your personal workspace
- Click on the + button and choose "document operational"
- In the creation form, set the Title with Approv3 and select "Cars" in the dropdown menu for Typology. Then validate with the Create button
- Repeat the previous step to create another "document operational" document with title=Approv4 and select Bus for the Typology field
- Navigate to the Search menu named "Approval search"
- Once the Form panel is open, click on Search => the 2 "document operational" documents will be displayed
- Select "Cars" in the dropdown menu for Typology and click on Search => only the document Approv3 is displayed, as expected
- Save the search with the name "cars"
- In the Dropdown menu on top of the Form panel, select "Filters" to remove the previous choice
- Then select "cars" => observe that the Typology field is set
- Click on the Search button
- Observe that no document is returned <= that's the bug
When analyzing the payloads, we see :
- for a normal search, the value is
operational_typology: %5B%220001%2FDOCROA%2FCAR%22%5D
decoded into ["0001/DOCROA/CAR"]
- for the saved search, the value is
operational_typology: %5B%22DOCROA%2FCAR%22%5D
decoded into ["DOCROA/CAR"]
=> the first parent is missing in the payload submitted by the saved search.
Note that the value is correctly saved in the SavedSearch document
"PP_Search_DocumentOperational_pp:operational_typology": [ "0001/DOCROA/CAR" ],
- clones
-
WEBUI-1386 Fix Saved Search restoration/execution with hierarchical vocabularies
- Resolved
- links to
- mentioned in
-
Page Loading...