Localization: global.json file on 16.4.1 is invalid because it contains a duplicated key
search cancel

Localization: global.json file on 16.4.1 is invalid because it contains a duplicated key

book

Article ID: 433858

calendar_today

Updated On:

Products

Clarity FedRAMP Clarity PPM On Premise Clarity PPM SaaS

Issue/Introduction

Localization: global.json file on 16.4.1 is invalid because it contains the duplicated key columnsSelected and prevents the Localization Export Captions from completing successfully.

The English i18n file global.json has a duplicate key in the widgets object: columnsSelected. This causes the Localization Export Captions in Classic to fail with an exception. The result is that customers who want to update their translations for unsupported languages, like Catalan, cannot export their existing captions stored in the database and get them merged with the new captions from the latest release. The Export Captions action fails and the resulting ppm_ux_global.properties downloaded is incomplete. 

Steps to Reproduce:

  1. Have some captions uploaded in the cmn_i18n_properties table for a Non-English language from a previous release.
  2. Login to Classic Clarity
  3. Administration->Localization
  4. Select the Non-English language for the captions in the cmn_i18n_properties file.
  5. Click Export Captions

Expected Results: A download_<language_code>.zip file is downloaded and no exceptions in the app-ca.log. 

Actual Results: A download_<language_code>.zip file is downloaded and an exception is produced in the app-ca.log.

ERROR 2026-03-12 12:56:20,615 [http-nio-80-exec-44] utility.JSONUtils (x:x:x:nmc.importCaptions) (x) Exception loading JSON
org.json.JSONException: Duplicate key "columnsSelected"
at org.json.JSONObject.putOnce(JSONObject.java:1069)
[...]

Environment

Clarity 16.4.1

Cause

DE183878

Resolution

This issue has been fixed in:

  • Clarity 16.4.1 Patch 1
  • Clarity 16.4.2