Ticket #2530232 (closed defect)

Reporter


Brett Stimmerman
Opened: 05/6/11
Last modified: 08/18/11
Status: closed
Type: defect
Resolution: fixed

Owner


Dav Glass
Target Release: 3.4.0
Priority: P3 (normal)
Summary: Loader does not handle Y.Intl language bundles correctly for Gallery modules.
Description:

I've uncovered a few issues with Gallery modules that use Y.Intl for L10n:

1. A YUI lang config is required before Loader will attempt to download a language bundle for a Gallery module. A default should be implicit.
2. Once a lang is specified, Loader looks in the wrong place for the bundle: /3.3.0/build instead of /gallery-*/build
3. Need to use() or require the intl module before Y.Intl.get() is usable. (Though, this may be working as intended.)

More details are in a Gallery forum post [1], and a test case gist [2].

[1] http://yuilibrary.com/forum/viewtopic.php?f=101&t=7771
[2] https://gist.github.com/958184

Type: defect Observed in Version: 3.3.0
Component: Loader Severity: S3 (normal)
Assigned To: Dav Glass Target Release: 3.4.0
Location: Library Code Priority: P3 (normal)
Tags: gallery, intl Relates To:
Browsers: N/A
URL:
Test Information:

See https://gist.github.com/958184 for a test case.

Change History

Dav Glass

Posted: 05/11/11
  • location changed to Library Code
  • milestone changed to 3.4.0
  • priority changed to P3 (normal)
  • status changed from new to accepted

Dav Glass

Posted: 06/17/11
  • completed changed from 0 to 0.25
  • remaining changed from 0.5 to 0
  • status changed from accepted to checkedin

George

YUI Developer

Posted: 08/18/11
  • resolution changed to fixed
  • status changed from checkedin to closed