#17167 closed defect (fixed)
[patch][ccla]The build system reports an error for a missing localized bundle while the root bundle specifies the locale is not available.
Reported by: | Patrick Ruzand | Owned by: | Rawld Gill |
---|---|---|---|
Priority: | high | Milestone: | 1.9.2 |
Component: | BuildSystem | Version: | 1.9.0 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
If a root bundle contains the following entries:
define({ root:({ // some localized msgs }), "fr":true, "de":false });
and the "de" nls bundle does not exist (so it's consistent with the de:"false" setting of the root bundle), the build reports the following error:
error(354) Root bundle indicates localized bundles that don't exist.
Root: myapp/nls/mybundle; missing bundles: 'de'.
Since the root bundle explicitly specifies there's no "de" bundle, the build should not report any errors.
Attachments (1)
Change History (6)
Changed 7 years ago by
Attachment: | 17167.patch added |
---|
comment:1 Changed 7 years ago by
Summary: | The build system reports an error for a missing localized bundle while the root bundle specifies the locale is not available. → [patch][ccla]The build system reports an error for a missing localized bundle while the root bundle specifies the locale is not available. |
---|
this patch ensures the locale of a localized bundle is truthy in the root bundle before reporting a missing bundle.
comment:2 Changed 7 years ago by
Milestone: | tbd → 1.9.1 |
---|---|
Priority: | undecided → high |
This is hurting some of our products. Given that there is a patched attached I would expect this to be in 1.9.1.
comment:3 Changed 7 years ago by
Milestone: | 1.9.1 → 1.9.2 |
---|
1.9.1 is released; moving all outstanding tickets to next milestone.
comment:4 Changed 6 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
patch by pruzand (IBM, CCLA)