Project: talenddataquality
Issue TDQ-5040: labels of Analysis subcategory are improperly handled
(To be detailed) ViewerDataFactory class. {code} 44 for (AnalysisCategory subCategory : category.getSubCategories()) { 45 subCategories.add(new AnalysisTypeNode(subCategory.getLabel(), subCategory.getLabel(), typeNode)); 46 } {code} CategoryHandler {code} public static String getLabel(String categoryLabel) { String messageKey = Messages.getString("AnalysisType." + categoryLabel.replaceAll("\\s*", PluginConstant.EMPTY_STRING));//$NON-NLS-1$//$NON-NLS-2$ if (messageKey.startsWith(MessagesCore.KEY_NOT_FOUND_PREFIX) && messageKey.endsWith(MessagesCore.KEY_NOT_FOUND_SUFFIX)) { return categoryLabel; } return messageKey; } {code}
Story points: 5