senzing-garage/entity-search-web-app

Custom feature LIST shows _LIST on the webapp

Closed this issue · 2 comments

Describe the bug
I added a new feature, and in the incoming JSON message, added it as a LIST. The _LIST shows up on the web app, which it should just display the feature name.

To Reproduce
Steps to reproduce the behavior:
Feature added via G2ConfigTool as

templateAdd {"feature": "SECONDARY_ALIEN_NUMBER", "template": "global_id", "behavior": "F1","comparison":"ID_COMP"}
setFeature {"feature":"SECONDARY_ALIEN_NUMBER","candidates": "Yes"}
setFeature {"feature":"SECONDARY_ALIEN_NUMBER","behavior": "FF"}

G2Explorer.py shows this field correctly:
image

But on the entity-search-web-app, it shows the feature with the _LIST prefix:
image

Input Message (formatted as a python dict)

{"DATA_SOURCE":"ECCIS2_MOCK","RECORD_ID":999999702, "NAME_LIST":[{"NAME_FIRST":"JACK","NAME_MIDDLE":"","NAME_LAST":"JONES"}], "DOB_LIST":[{"DATE_OF_BIRTH":"1964-11-02"}], "POB_LIST":[{"PLACE_OF_BIRTH":"MEXIC"}], "CITIZENSHIP_LIST":[{"CITIZENSHIP":"MEXIC"}], "PHONE_NUMBER": "7031234567", "GENDER_LIST":[{"GENDER":"M"}], "ALIEN_NUMBER": "678154229", "SECONDARY_ALIEN_NUMBER_LIST":[{"SECONDARY_ALIEN_NUMBER": "678154229"}], "SSN_LIST":[{"SSN_NUMBER":"444444444"}]}
Expected behavior
A clear and concise description of what you expected to happen.

I would like to see the label as SECONDARY_ALIEN_NUMBER on the web app instead of SECONDARY_ALIEN_NUMBER_LIST.

Ticket created per request from Paul Lohr

Looking at additional records, in many places I am seeing SECONDARY_ALIEN_NUMBER as the label. It looks like its just in the MATCHED RECORDS section where its displaying SECONDARY_ALIEN_NUMBER_LIST

@bdealey Sorry for the delay getting back to you on this, but it has been corrected. I ran your data through our 3.2 release and it no longer shows SECONDARY_ALIEN_NUMBER_LIST

image

Please do let us know if there is anything further you need.