Rakesh Gupta created RANGER-5790:
------------------------------------
Summary: [Ranger][UI] Atlas resource label not updated in DB
during upgrade "Type Catagory" typo persists
Key: RANGER-5790
URL: https://issues.apache.org/jira/browse/RANGER-5790
Project: Ranger
Issue Type: Bug
Components: Ranger
Reporter: Rakesh Gupta
Assignee: Rakesh Gupta
h3. Issue
The fix for the typo *"Type Catagory" → "Type Category"* introduced in
https://issues.apache.org/jira/browse/RANGER-4805
({{{}ranger-servicedef-atlas.json{}}}) is applied only during fresh
installations.
During an upgrade, the Ranger UI continues to display the old typo because
resource labels are retrieved from the {{*x_resource_def*}} database table,
which retains the pre-upgrade values.
h3. Root Cause
There is currently no database upgrade patch to synchronize updated resource
labels and descriptions from the embedded service definition JSON files to the
{{*x_resource_def*}} table.
As a result, changes to resource labels or descriptions made in the service
definition JSON are not reflected in existing installations after an upgrade.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)