Uploaded image for project: 'PUBLIC - Liferay Alloy UI'
  1. PUBLIC - Liferay Alloy UI
  2. AUI-1269

YUI Gallery "AUI Calendar Base" requires deprecated "widget-locale"; should use "intl"

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: master
    • Fix Version/s: None
    • Component/s: Calendar (deprecated)
    • Environment:
      Using the "gallery-aui-calendar-base" component of the Yahoo! YUI.

      Description

      The "gallery-aui-calendar-base" component published by Alloy in the YUI "gallery" back in 2010 requires (and employs) the deprecated module "widget-locale", which was removed from YUI in version 3.7. As a result, this Allow UI component cannot be used with any of the more recent versions of YUI (which is now up to version 3.16). (It generates a javascript error on loading, and displays only some visual debris in place of the intended calendar widget .)

      I am posting this here because the YUI entry for that module links here for bug reporting. And I have no idea what version of the Alloy UI code this applies to - I can find no correspondence with the AUI code in the YUI Gallery, and looking at the current Alloy UI src code I do not see this module at all.

      With a few lines changed to instead use the "intl" YUI module, it loads & seems to work fine with the latest YUI. I have attached both the existing YUI gallery version of the .js file, as well as the modified file. (And, although I have not tested this aspect, the documentation of the "intl" module indicates this change would provide localization support for a much richer set of languages / locales that did the prior version).

      Feel free to contact me with any questions.
      Paul Lustgarten
      <first initial><last name> @ yahoo-inc . com

        Attachments

          Activity

            People

            Assignee:
            zeno.rocha Zeno Rocha (Inactive)
            Reporter:
            plustgarten Paul Lustgarten (Inactive)
            Participants of an Issue:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              7 years, 33 weeks, 3 days ago

                Packages

                Version Package