Skip to content

Commit baa4103

Browse files
authored
CLDR-18490 v48 LogKnownIssues (August 2025 edition) (#4924)
1 parent e89d5b5 commit baa4103

File tree

3 files changed

+18
-8
lines changed

3 files changed

+18
-8
lines changed

tools/cldr-code/src/test/java/org/unicode/cldr/unittest/TestAttributeValues.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -307,9 +307,10 @@ private void checkAttribute(
307307
}
308308

309309
void show(DtdType dtdType, boolean verbose, ImmutableSet<ValueStatus> retain) {
310-
if (dtdData.dtdType == DtdType.keyboard3
311-
&& testLog.logKnownIssue("CLDR-14974", "skipping for keyboard")) {
312-
testLog.warnln("keyboard3 is missing validity checks");
310+
if (dtdData.dtdType == DtdType.keyboard3) {
311+
if (!testLog.logKnownIssue("CLDR-14974", "skipping for keyboard")) {
312+
testLog.errln("keyboard3 is missing validity checks");
313+
}
313314
}
314315
boolean haveProblems = false;
315316
for (ValueStatus valueStatus : ValueStatus.values()) {

tools/cldr-code/src/test/java/org/unicode/cldr/unittest/TestDtdData.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,8 @@ private void checkEmpty(
322322
if (!valueAttributes.isEmpty()) {
323323
switch (element.getName()) {
324324
case "ruleset":
325-
logKnownIssue("cldrbug:8909", "waiting for RBNF to use data");
325+
logKnownIssue(
326+
"CLDR-18865", "Need exception for DTD test for migration");
326327
break;
327328
case "key":
328329
case "territory":

tools/cldr-code/src/test/java/org/unicode/cldr/unittest/TestSupplementalInfo.java

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2053,16 +2053,24 @@ public void TestPluralCompleteness() {
20532053
}
20542054
}
20552055

2056+
/**
2057+
* @param causeError type of issue - warn/err/log
2058+
* @param message message text
2059+
* @param logTicket if non-null, attempt log known issue
2060+
* @param logComment optional comment with log known issue
2061+
* @see {@link UnicodeKnownIssues}
2062+
*/
20562063
public void errOrLog(
20572064
CoverageIssue causeError, String message, String logTicket, String logComment) {
20582065
switch (causeError) {
20592066
case error:
2060-
if (logTicket == null) {
2061-
errln(message);
2067+
if (logTicket != null && logKnownIssue(logTicket, logComment)) {
2068+
warnln(message);
20622069
break;
2070+
} else {
2071+
errln(message);
20632072
}
2064-
logKnownIssue(logTicket, logComment);
2065-
// fall through
2073+
break;
20662074
case warn:
20672075
warnln(message);
20682076
break;

0 commit comments

Comments
 (0)