Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#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)

17167.patch (656 bytes) - added by Patrick Ruzand 6 years ago.
patch by pruzand (IBM, CCLA)

Download all attachments as: .zip

Change History (6)

Changed 6 years ago by Patrick Ruzand

Attachment: 17167.patch added

patch by pruzand (IBM, CCLA)

comment:1 Changed 6 years ago by Patrick Ruzand

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 6 years ago by cjolif

Milestone: tbd1.9.1
Priority: undecidedhigh

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 6 years ago by Colin Snover

Milestone: 1.9.11.9.2

1.9.1 is released; moving all outstanding tickets to next milestone.

comment:4 Changed 6 years ago by Patrick Ruzand <pruzand@…>

Resolution: fixed
Status: newclosed

In 10453f663e860f70389d054688c5c06b9ca22902/util:

Error: Processor CommitTicketReference failed
Unsupported version control system "git": Can't find an appropriate component, maybe the corresponding plugin was not enabled? 

comment:5 Changed 6 years ago by Patrick Ruzand <pruzand@…>

In 799aa959af20317e1fc19142c1022fef74780339/util:

Error: Processor CommitTicketReference failed
Unsupported version control system "git": Can't find an appropriate component, maybe the corresponding plugin was not enabled? 
Note: See TracTickets for help on using tickets.