[Unicode]   Common Locale Data Repository : Bug Tracking Home | Site Map | Search
 
Modify

CLDR Ticket #8926(accepted tools)

Opened 2 years ago

Last modified 7 months ago

Ldml2JsonConverter Directory creation issue when no package is selected

Reported by: mate.herber@… Owned by: emmons
Component: json Data Locale:
Phase: rc Review:
Weeks: Data Xpath:
Xref:

Description

Ldml2JsonConverter.java -- convertCldrItems

485:17 if (writePackages) {
...

outputDirname.append("/"+dirName+"/");
if (type != RunType.supplemental) {

outputDirname.append(filename.replaceAll("_", "-"));

}

I think this should go outside the if (writePackages) {} block, so it creates the dirname+filename hierarchy even when packages options is opted false. Otherwise it generates the output files in the root directory and overwrite them in the next iteration

Attachments

Change History

comment:1 Changed 2 years ago by emmons

  • Owner changed from anybody to emmons
  • Phase changed from dsub to rc
  • Priority changed from assess to medium
  • Status changed from new to accepted
  • Milestone changed from UNSCH to 29

comment:2 Changed 2 years ago by emmons

  • Milestone changed from 29 to upcoming

Auto move of all 29 -> upcoming

comment:3 Changed 7 months ago by emmons

  • Milestone changed from upcoming to UNSCH
View

Add a comment

Modify Ticket

Action
as accepted
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.