Branch: refs/heads/yui3
  Home:   https://github.com/jenkinsci/jenkins
  Commit: 9ed0407965aa36884cc7d1820b415307fa551a19
      
https://github.com/jenkinsci/jenkins/commit/9ed0407965aa36884cc7d1820b415307fa551a19
  Author: Kohsuke Kawaguchi <[email protected]>
  Date:   2012-03-02 (Fri, 02 Mar 2012)

  Changed paths:
    M core/pom.xml
  M core/src/main/resources/lib/layout/layout.jelly
  M core/src/main/resources/lib/layout/yui.jelly
  A core/src/main/resources/lib/layout/yui3.jelly
  M war/src/main/webapp/scripts/hudson-behavior.js

  Log Message:
  -----------
  Integrating YUI3

YUI is loaded as adjuncts. To maintain backward compatibility where
JavaScript expected global 'YAHOO' object, a bit is added in
hudson-behaviour.js to create one Y object and exposed it as YAHOO.
YUI.add is also patched so that any YUI2 module loaded will
automatically get exposed to this global 'YAHOO' object, or else
YUI2 modules loaded later than hudson-behaviour.js won't be visible
(and example of this can be seen in View/index.jelly)


  Commit: 98d0a8d7303dab6296c9bc82c81483c8a1964249
      
https://github.com/jenkinsci/jenkins/commit/98d0a8d7303dab6296c9bc82c81483c8a1964249
  Author: Kohsuke Kawaguchi <[email protected]>
  Date:   2012-03-02 (Fri, 02 Mar 2012)

  Changed paths:
    R war/src/main/webapp/scripts/yui/animation/animation-debug.js
  R war/src/main/webapp/scripts/yui/animation/animation-min.js
  R war/src/main/webapp/scripts/yui/assets/skins/sam/ajax-loader.gif
  R war/src/main/webapp/scripts/yui/assets/skins/sam/asc.gif
  R war/src/main/webapp/scripts/yui/assets/skins/sam/autocomplete.css
  R war/src/main/webapp/scripts/yui/assets/skins/sam/back-h.png
  R war/src/main/webapp/scripts/yui/assets/skins/sam/back-v.png
  R war/src/main/webapp/scripts/yui/assets/skins/sam/bar-h.png
  R war/src/main/webapp/scripts/yui/assets/skins/sam/bar-v.png
  R war/src/main/webapp/scripts/yui/assets/skins/sam/bg-h.gif
  R war/src/main/webapp/scripts/yui/assets/skins/sam/bg-v.gif
  R war/src/main/webapp/scripts/yui/assets/skins/sam/blankimage.png
  R war/src/main/webapp/scripts/yui/assets/skins/sam/button.css
  R war/src/main/webapp/scripts/yui/assets/skins/sam/calendar.css
  R war/src/main/webapp/scripts/yui/assets/skins/sam/carousel.css
  R war/src/main/webapp/scripts/yui/assets/skins/sam/check0.gif
  R war/src/main/webapp/scripts/yui/assets/skins/sam/check1.gif
  R war/src/main/webapp/scripts/yui/assets/skins/sam/check2.gif
  R war/src/main/webapp/scripts/yui/assets/skins/sam/colorpicker.css
  R war/src/main/webapp/scripts/yui/assets/skins/sam/container.css
  R war/src/main/webapp/scripts/yui/assets/skins/sam/datatable.css
  R war/src/main/webapp/scripts/yui/assets/skins/sam/desc.gif
  R war/src/main/webapp/scripts/yui/assets/skins/sam/dt-arrow-dn.png
  R war/src/main/webapp/scripts/yui/assets/skins/sam/dt-arrow-up.png
  R war/src/main/webapp/scripts/yui/assets/skins/sam/editor-knob.gif
  R war/src/main/webapp/scripts/yui/assets/skins/sam/editor-sprite-active.gif
  R war/src/main/webapp/scripts/yui/assets/skins/sam/editor-sprite.gif
  R war/src/main/webapp/scripts/yui/assets/skins/sam/editor.css
  R war/src/main/webapp/scripts/yui/assets/skins/sam/header_background.png
  R war/src/main/webapp/scripts/yui/assets/skins/sam/hue_bg.png
  R war/src/main/webapp/scripts/yui/assets/skins/sam/imagecropper.css
  R war/src/main/webapp/scripts/yui/assets/skins/sam/layout.css
  R war/src/main/webapp/scripts/yui/assets/skins/sam/layout_sprite.png
  R war/src/main/webapp/scripts/yui/assets/skins/sam/loading.gif
  R war/src/main/webapp/scripts/yui/assets/skins/sam/logger.css
  R 
war/src/main/webapp/scripts/yui/assets/skins/sam/menu-button-arrow-disabled.png
  R war/src/main/webapp/scripts/yui/assets/skins/sam/menu-button-arrow.png
  R war/src/main/webapp/scripts/yui/assets/skins/sam/menu.css
  R 
war/src/main/webapp/scripts/yui/assets/skins/sam/menubaritem_submenuindicator.png
  R 
war/src/main/webapp/scripts/yui/assets/skins/sam/menubaritem_submenuindicator_disabled.png
  R war/src/main/webapp/scripts/yui/assets/skins/sam/menuitem_checkbox.png
  R 
war/src/main/webapp/scripts/yui/assets/skins/sam/menuitem_checkbox_disabled.png
  R 
war/src/main/webapp/scripts/yui/assets/skins/sam/menuitem_submenuindicator.png
  R 
war/src/main/webapp/scripts/yui/assets/skins/sam/menuitem_submenuindicator_disabled.png
  R war/src/main/webapp/scripts/yui/assets/skins/sam/paginator.css
  R war/src/main/webapp/scripts/yui/assets/skins/sam/picker_mask.png
  R war/src/main/webapp/scripts/yui/assets/skins/sam/profilerviewer.css
  R war/src/main/webapp/scripts/yui/assets/skins/sam/progressbar.css
  R war/src/main/webapp/scripts/yui/assets/skins/sam/resize.css
  R war/src/main/webapp/scripts/yui/assets/skins/sam/simpleeditor.css
  R war/src/main/webapp/scripts/yui/assets/skins/sam/skin.css
  R war/src/main/webapp/scripts/yui/assets/skins/sam/slider.css
  R 
war/src/main/webapp/scripts/yui/assets/skins/sam/split-button-arrow-active.png
  R 
war/src/main/webapp/scripts/yui/assets/skins/sam/split-button-arrow-disabled.png
  R 
war/src/main/webapp/scripts/yui/assets/skins/sam/split-button-arrow-focus.png
  R 
war/src/main/webapp/scripts/yui/assets/skins/sam/split-button-arrow-hover.png
  R war/src/main/webapp/scripts/yui/assets/skins/sam/split-button-arrow.png
  R war/src/main/webapp/scripts/yui/assets/skins/sam/sprite.png
  R war/src/main/webapp/scripts/yui/assets/skins/sam/sprite.psd
  R war/src/main/webapp/scripts/yui/assets/skins/sam/tabview.css
  R war/src/main/webapp/scripts/yui/assets/skins/sam/treeview-loading.gif
  R war/src/main/webapp/scripts/yui/assets/skins/sam/treeview-sprite.gif
  R war/src/main/webapp/scripts/yui/assets/skins/sam/treeview.css
  R war/src/main/webapp/scripts/yui/assets/skins/sam/wait.gif
  R war/src/main/webapp/scripts/yui/assets/skins/sam/yuitest.css
  R war/src/main/webapp/scripts/yui/autocomplete/assets/autocomplete-core.css
  R 
war/src/main/webapp/scripts/yui/autocomplete/assets/skins/sam/autocomplete-skin.css
  R 
war/src/main/webapp/scripts/yui/autocomplete/assets/skins/sam/autocomplete.css
  R war/src/main/webapp/scripts/yui/autocomplete/autocomplete-debug.js
  R war/src/main/webapp/scripts/yui/autocomplete/autocomplete-min.js
  R war/src/main/webapp/scripts/yui/base/base-min.css
  R war/src/main/webapp/scripts/yui/base/base.css
  R war/src/main/webapp/scripts/yui/button/assets/button-core.css
  R war/src/main/webapp/scripts/yui/button/assets/skins/sam/button-skin.css
  R war/src/main/webapp/scripts/yui/button/assets/skins/sam/button.css
  R 
war/src/main/webapp/scripts/yui/button/assets/skins/sam/menu-button-arrow-disabled.png
  R 
war/src/main/webapp/scripts/yui/button/assets/skins/sam/menu-button-arrow.png
  R 
war/src/main/webapp/scripts/yui/button/assets/skins/sam/split-button-arrow-active.png
  R 
war/src/main/webapp/scripts/yui/button/assets/skins/sam/split-button-arrow-disabled.png
  R 
war/src/main/webapp/scripts/yui/button/assets/skins/sam/split-button-arrow-focus.png
  R 
war/src/main/webapp/scripts/yui/button/assets/skins/sam/split-button-arrow-hover.png
  R 
war/src/main/webapp/scripts/yui/button/assets/skins/sam/split-button-arrow.png
  R war/src/main/webapp/scripts/yui/button/button-debug.js
  R war/src/main/webapp/scripts/yui/button/button-min.js
  R war/src/main/webapp/scripts/yui/connection/connection-debug.js
  R war/src/main/webapp/scripts/yui/connection/connection-min.js
  R war/src/main/webapp/scripts/yui/connection/connection.swf
  R war/src/main/webapp/scripts/yui/connection/connection_core-debug.js
  R war/src/main/webapp/scripts/yui/connection/connection_core-min.js
  R war/src/main/webapp/scripts/yui/container/assets/alrt16_1.gif
  R war/src/main/webapp/scripts/yui/container/assets/blck16_1.gif
  R war/src/main/webapp/scripts/yui/container/assets/close12_1.gif
  R war/src/main/webapp/scripts/yui/container/assets/container-core.css
  R war/src/main/webapp/scripts/yui/container/assets/container.css
  R war/src/main/webapp/scripts/yui/container/assets/hlp16_1.gif
  R war/src/main/webapp/scripts/yui/container/assets/info16_1.gif
  R 
war/src/main/webapp/scripts/yui/container/assets/skins/sam/container-skin.css
  R war/src/main/webapp/scripts/yui/container/assets/skins/sam/container.css
  R war/src/main/webapp/scripts/yui/container/assets/tip16_1.gif
  R war/src/main/webapp/scripts/yui/container/assets/warn16_1.gif
  R war/src/main/webapp/scripts/yui/container/container-debug.js
  R war/src/main/webapp/scripts/yui/container/container-min.js
  R war/src/main/webapp/scripts/yui/container/container_core-debug.js
  R war/src/main/webapp/scripts/yui/container/container_core-min.js
  R war/src/main/webapp/scripts/yui/cookie/cookie-debug.js
  R war/src/main/webapp/scripts/yui/cookie/cookie-min.js
  R war/src/main/webapp/scripts/yui/cutdown.sh
  R war/src/main/webapp/scripts/yui/datasource/datasource-debug.js
  R war/src/main/webapp/scripts/yui/datasource/datasource-min.js
  R war/src/main/webapp/scripts/yui/dom/dom-debug.js
  R war/src/main/webapp/scripts/yui/dom/dom-min.js
  R war/src/main/webapp/scripts/yui/dragdrop/dragdrop-debug.js
  R war/src/main/webapp/scripts/yui/dragdrop/dragdrop-min.js
  R war/src/main/webapp/scripts/yui/editor/assets/editor-core.css
  R war/src/main/webapp/scripts/yui/editor/assets/simpleeditor-core.css
  R war/src/main/webapp/scripts/yui/editor/assets/skins/sam/blankimage.png
  R war/src/main/webapp/scripts/yui/editor/assets/skins/sam/editor-knob.gif
  R war/src/main/webapp/scripts/yui/editor/assets/skins/sam/editor-skin.css
  R 
war/src/main/webapp/scripts/yui/editor/assets/skins/sam/editor-sprite-active.gif
  R war/src/main/webapp/scripts/yui/editor/assets/skins/sam/editor-sprite.gif
  R war/src/main/webapp/scripts/yui/editor/assets/skins/sam/editor.css
  R 
war/src/main/webapp/scripts/yui/editor/assets/skins/sam/simpleeditor-skin.css
  R war/src/main/webapp/scripts/yui/editor/assets/skins/sam/simpleeditor.css
  R war/src/main/webapp/scripts/yui/editor/editor-debug.js
  R war/src/main/webapp/scripts/yui/editor/editor-min.js
  R war/src/main/webapp/scripts/yui/editor/simpleeditor-debug.js
  R war/src/main/webapp/scripts/yui/editor/simpleeditor-min.js
  R war/src/main/webapp/scripts/yui/element/element-debug.js
  R war/src/main/webapp/scripts/yui/element/element-min.js
  R war/src/main/webapp/scripts/yui/event/event-debug.js
  R war/src/main/webapp/scripts/yui/event/event-min.js
  R war/src/main/webapp/scripts/yui/fonts/fonts-min.css
  R war/src/main/webapp/scripts/yui/fonts/fonts.css
  R war/src/main/webapp/scripts/yui/logger/assets/logger-core.css
  R war/src/main/webapp/scripts/yui/logger/assets/logger.css
  R war/src/main/webapp/scripts/yui/logger/assets/skins/sam/logger-skin.css
  R war/src/main/webapp/scripts/yui/logger/assets/skins/sam/logger.css
  R war/src/main/webapp/scripts/yui/logger/logger-debug.js
  R war/src/main/webapp/scripts/yui/logger/logger-min.js
  R war/src/main/webapp/scripts/yui/menu/assets/menu-core.css
  R war/src/main/webapp/scripts/yui/menu/assets/menu.css
  R war/src/main/webapp/scripts/yui/menu/assets/menu_down_arrow.png
  R war/src/main/webapp/scripts/yui/menu/assets/menu_down_arrow_disabled.png
  R war/src/main/webapp/scripts/yui/menu/assets/menu_up_arrow.png
  R war/src/main/webapp/scripts/yui/menu/assets/menu_up_arrow_disabled.png
  R war/src/main/webapp/scripts/yui/menu/assets/menubaritem_submenuindicator.png
  R 
war/src/main/webapp/scripts/yui/menu/assets/menubaritem_submenuindicator_disabled.png
  R 
war/src/main/webapp/scripts/yui/menu/assets/menubaritem_submenuindicator_selected.png
  R war/src/main/webapp/scripts/yui/menu/assets/menuitem_checkbox.png
  R war/src/main/webapp/scripts/yui/menu/assets/menuitem_checkbox_disabled.png
  R war/src/main/webapp/scripts/yui/menu/assets/menuitem_checkbox_selected.png
  R war/src/main/webapp/scripts/yui/menu/assets/menuitem_submenuindicator.png
  R 
war/src/main/webapp/scripts/yui/menu/assets/menuitem_submenuindicator_disabled.png
  R 
war/src/main/webapp/scripts/yui/menu/assets/menuitem_submenuindicator_selected.png
  R war/src/main/webapp/scripts/yui/menu/assets/skins/sam/menu-skin.css
  R war/src/main/webapp/scripts/yui/menu/assets/skins/sam/menu.css
  R 
war/src/main/webapp/scripts/yui/menu/assets/skins/sam/menubaritem_submenuindicator.png
  R 
war/src/main/webapp/scripts/yui/menu/assets/skins/sam/menubaritem_submenuindicator_disabled.png
  R war/src/main/webapp/scripts/yui/menu/assets/skins/sam/menuitem_checkbox.png
  R 
war/src/main/webapp/scripts/yui/menu/assets/skins/sam/menuitem_checkbox_disabled.png
  R 
war/src/main/webapp/scripts/yui/menu/assets/skins/sam/menuitem_submenuindicator.png
  R 
war/src/main/webapp/scripts/yui/menu/assets/skins/sam/menuitem_submenuindicator_disabled.png
  R war/src/main/webapp/scripts/yui/menu/menu-debug.js
  R war/src/main/webapp/scripts/yui/menu/menu-min.js
  R war/src/main/webapp/scripts/yui/resize/assets/resize-core.css
  R war/src/main/webapp/scripts/yui/resize/assets/skins/sam/layout_sprite.png
  R war/src/main/webapp/scripts/yui/resize/assets/skins/sam/resize-skin.css
  R war/src/main/webapp/scripts/yui/resize/assets/skins/sam/resize.css
  R war/src/main/webapp/scripts/yui/resize/resize-debug.js
  R war/src/main/webapp/scripts/yui/resize/resize-min.js
  R war/src/main/webapp/scripts/yui/storage/storage-debug.js
  R war/src/main/webapp/scripts/yui/storage/storage-min.js
  R war/src/main/webapp/scripts/yui/tabview/assets/border_tabs.css
  R war/src/main/webapp/scripts/yui/tabview/assets/loading.gif
  R war/src/main/webapp/scripts/yui/tabview/assets/skin-sam.css
  R war/src/main/webapp/scripts/yui/tabview/assets/skins/sam/tabview-skin.css
  R war/src/main/webapp/scripts/yui/tabview/assets/skins/sam/tabview.css
  R war/src/main/webapp/scripts/yui/tabview/assets/tabview-core.css
  R war/src/main/webapp/scripts/yui/tabview/assets/tabview.css
  R war/src/main/webapp/scripts/yui/tabview/tabview-debug.js
  R war/src/main/webapp/scripts/yui/tabview/tabview-min.js
  R war/src/main/webapp/scripts/yui/treeview/assets/skins/sam/check0.gif
  R war/src/main/webapp/scripts/yui/treeview/assets/skins/sam/check1.gif
  R war/src/main/webapp/scripts/yui/treeview/assets/skins/sam/check2.gif
  R war/src/main/webapp/scripts/yui/treeview/assets/skins/sam/loading.gif
  R 
war/src/main/webapp/scripts/yui/treeview/assets/skins/sam/treeview-loading.gif
  R war/src/main/webapp/scripts/yui/treeview/assets/skins/sam/treeview-skin.css
  R 
war/src/main/webapp/scripts/yui/treeview/assets/skins/sam/treeview-sprite.gif
  R war/src/main/webapp/scripts/yui/treeview/assets/skins/sam/treeview.css
  R war/src/main/webapp/scripts/yui/treeview/assets/treeview-core.css
  R war/src/main/webapp/scripts/yui/treeview/treeview-debug.js
  R war/src/main/webapp/scripts/yui/treeview/treeview-min.js
  R war/src/main/webapp/scripts/yui/yahoo/yahoo-debug.js
  R war/src/main/webapp/scripts/yui/yahoo/yahoo-min.js

  Log Message:
  -----------
  Removed YUI now that it's loaded from adjunct


  Commit: e0c5c750b97b275b8856c503d6177ae204e957c9
      
https://github.com/jenkinsci/jenkins/commit/e0c5c750b97b275b8856c503d6177ae204e957c9
  Author: Kohsuke Kawaguchi <[email protected]>
  Date:   2012-03-02 (Fri, 02 Mar 2012)

  Changed paths:
    M core/src/main/resources/lib/layout/layout.jelly
  M war/src/main/webapp/scripts/hudson-behavior.js

  Log Message:
  -----------
  More YUI3 massaging.

CSS is now auto-loaded by YUI loader, so no need to manually add them.
When we statically load YUI2 modules via <l:yui>, its dependencies
aren't automatically loaded. So we need to manually resolve them by
calling Y.use()


  Commit: 65c56b1cc1392aaeb2d7f2cb2b11c65e0665ceb6
      
https://github.com/jenkinsci/jenkins/commit/65c56b1cc1392aaeb2d7f2cb2b11c65e0665ceb6
  Author: Kohsuke Kawaguchi <[email protected]>
  Date:   2012-03-02 (Fri, 02 Mar 2012)

  Changed paths:
    M core/src/main/resources/lib/layout/layout.jelly
  M war/src/main/webapp/scripts/hudson-behavior.js

  Log Message:
  -----------
  Globally configure YUI with correct adjunct path


  Commit: aa60fce221eefbf0704bb1d534bc18a81c54266c
      
https://github.com/jenkinsci/jenkins/commit/aa60fce221eefbf0704bb1d534bc18a81c54266c
  Author: Kohsuke Kawaguchi <[email protected]>
  Date:   2012-03-02 (Fri, 02 Mar 2012)

  Changed paths:
    M 
core/src/main/resources/hudson/matrix/MatrixProject/configure-entries.jelly

  Log Message:
  -----------
  this is now loaded automatically


  Commit: 762d8db28d71473efb3fcaaddab61999c76f6084
      
https://github.com/jenkinsci/jenkins/commit/762d8db28d71473efb3fcaaddab61999c76f6084
  Author: Kohsuke Kawaguchi <[email protected]>
  Date:   2012-03-02 (Fri, 02 Mar 2012)

  Changed paths:
    A core/src/main/java/jenkins/YUILegacyRedirectFilter.java
  M war/src/main/webapp/WEB-INF/web.xml

  Log Message:
  -----------
  Added a fitler to maintain backward compatibility

... with those plugins that directly refers to YUI scripts


  Commit: 612de90703cd510d0f472e052aa61fe078ed9d57
      
https://github.com/jenkinsci/jenkins/commit/612de90703cd510d0f472e052aa61fe078ed9d57
  Author: Kohsuke Kawaguchi <[email protected]>
  Date:   2012-03-02 (Fri, 02 Mar 2012)

  Changed paths:
    M core/src/main/resources/hudson/model/BuildTimelineWidget/control.jelly
  M core/src/main/resources/lib/hudson/artifactList.jelly

  Log Message:
  -----------
  Use <l:yui/> for proper reference to YUI


  Commit: 01c64271a104ae1cace42ca3b59ad6dd957be2c1
      
https://github.com/jenkinsci/jenkins/commit/01c64271a104ae1cace42ca3b59ad6dd957be2c1
  Author: Kohsuke Kawaguchi <[email protected]>
  Date:   2012-03-02 (Fri, 02 Mar 2012)

  Changed paths:
    M war/src/main/webapp/scripts/hudson-behavior.js

  Log Message:
  -----------
  Backporting a patch to YUI into Jenkins

This is really needed only for unit testing, but should be harmful for
regular use

> commit 6d081fafc40f8b60bbdfb3bc2a7b8f830b8c1ed7
> Author: Kohsuke Kawaguchi <[email protected]>
> Date:   Fri Sep 23 19:42:21 2011 -0700

    This property can be null causing HtmlUnit to fail.

    In event-debug.js, there's an overloaded toString() method.
     toString: function() {
         return "CustomEvent: " + "'" + this.type  + "', " +
             "context: " + this.scope;
     }

    When the problem happens, "this.scope" points to a DataSourceBase object, 
and apparently at that time this._sName is null, and it causes a failure in 
ScriptableObject.getDefaultValue(), at the final "fall through to error" 
portion (see below)

    ----
    Enclosed exception:
    net.sourceforge.htmlunit.corejs.javascript.EcmaError: TypeError: Cannot 
find default value for object. 
(http://localhost:46994/static/43c91e29/scripts/yui/event/event-debug.js#385)
        at 
net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3652)
        at 
net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3630)
        at 
net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.typeError(ScriptRuntime.java:3658)
        at 
net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.typeError1(ScriptRuntime.java:3670)
        at 
net.sourceforge.htmlunit.corejs.javascript.ScriptableObject.getDefaultValue(ScriptableObject.java:829)
        at 
net.sourceforge.htmlunit.corejs.javascript.ScriptableObject.getDefaultValue(ScriptableObject.java:748)
        at 
net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.add(ScriptRuntime.java:2558)
        at 
net.sourceforge.htmlunit.corejs.javascript.Interpreter.do_add(Interpreter.java:3060)
        at 
script.(http://localhost:46994/static/43c91e29/scripts/yui/event/event-debug.js:385)
        at 
net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpret(Interpreter.java:879)
        at 
net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.call(InterpretedFunction.java:164)
        at 
net.sourceforge.htmlunit.corejs.javascript.ScriptableObject.getDefaultValue(ScriptableObject.java:808)
        at 
net.sourceforge.htmlunit.corejs.javascript.ScriptableObject.getDefaultValue(ScriptableObject.java:748)
        at 
net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.add(ScriptRuntime.java:2558)
        at 
net.sourceforge.htmlunit.corejs.javascript.Interpreter.do_add(Interpreter.java:3060)
        at 
script.(http://localhost:46994/static/43c91e29/scripts/yui/event/event-debug.js:114)
        at 
script.(http://localhost:46994/static/43c91e29/scripts/yui/event/event-debug.js:2258)
        at 
script.(http://localhost:46994/static/43c91e29/scripts/yui/datasource/datasource-debug.js:79)
        at 
script.(http://localhost:46994/static/43c91e29/scripts/yui/datasource/datasource-debug.js:2302)
        at 
script.(http://localhost:46994/static/43c91e29/scripts/yui/autocomplete/autocomplete-debug.js:18)
        at 
script.createSearchBox(http://localhost:46994/static/43c91e29/scripts/hudson-behavior.js:1711)
        at script.(script in http://localhost:46994//login from (4, 3626) to 
(4, 3663):4)
        at 
net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpret(Interpreter.java:879)
        at 
net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.call(InterpretedFunction.java:164)
        at 
net.sourceforge.htmlunit.corejs.javascript.ContextFactory.doTopCall(ContextFactory.java:427)
        at 
com.gargoylesoftware.htmlunit.javascript.HtmlUnitContextFactory.doTopCall(HtmlUnitContextFactory.java:263)
        at 
net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3058)
        at 
net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.exec(InterpretedFunction.java:175)
        at 
com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$5.doRun(JavaScriptEngine.java:415)
        at 
com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run(JavaScriptEngine.java:522)
        at 
net.sourceforge.htmlunit.corejs.javascript.Context.call(Context.java:529)
        at 
net.sourceforge.htmlunit.corejs.javascript.ContextFactory.call(ContextFactory.java:536)
        at 
com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute(JavaScriptEngine.java:424)
        at 
com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute(JavaScriptEngine.java:399)
        at 
com.gargoylesoftware.htmlunit.html.HtmlPage.executeJavaScriptIfPossible(HtmlPage.java:892)
        at 
com.gargoylesoftware.htmlunit.html.HtmlScript.executeInlineScriptIfNeeded(HtmlScript.java:309)
        at 
com.gargoylesoftware.htmlunit.html.HtmlScript.executeScriptIfNeeded(HtmlScript.java:364)
        at 
com.gargoylesoftware.htmlunit.html.HtmlScript$1.execute(HtmlScript.java:223)
        at 
com.gargoylesoftware.htmlunit.html.HtmlScript.onAllChildrenAddedToPage(HtmlScript.java:238)
    ----

    So this quick fix gets us around.

    I think the root cause of the problem is that 
ScriptableObject.getDefaultValue() should treat null as the primitive value, 
but I'm bit scared to make that change right now.

diff --git a/war/src/main/webapp/scripts/yui/datasource/datasource-debug.js 
b/war/src/main/webapp/scripts/yui/datasource/datasource-debug.js
index 6038175..135c81f 100644
--- a/war/src/main/webapp/scripts/yui/datasource/datasource-debug.js
+++ b/war/src/main/webapp/scripts/yui/datasource/datasource-debug.js
@@ -717,7 +717,7 @@ cloneBeforeCaching : false,
  * @return {String} Unique name of the DataSource instance.
  */
 toString : function() {
-    return this._sName;
+    return this._sName || "";
 },

 /**


  Commit: 1e38e62815b34f5a54d56283cff53da4a70a6848
      
https://github.com/jenkinsci/jenkins/commit/1e38e62815b34f5a54d56283cff53da4a70a6848
  Author: Kohsuke Kawaguchi <[email protected]>
  Date:   2012-03-02 (Fri, 02 Mar 2012)

  Changed paths:
    M war/src/main/webapp/scripts/hudson-behavior.js

  Log Message:
  -----------
  fixing the load ordering problem.

calling arguments[1](Y); right away can end up attaching the same module twice, 
so a protection is needed


  Commit: 655cee82a0b9f3b4f374dc89cadb7ab5d25ec421
      
https://github.com/jenkinsci/jenkins/commit/655cee82a0b9f3b4f374dc89cadb7ab5d25ec421
  Author: Kohsuke Kawaguchi <[email protected]>
  Date:   2012-03-02 (Fri, 02 Mar 2012)

  Changed paths:
    M war/src/main/webapp/scripts/hudson-behavior.js

  Log Message:
  -----------
  eager loading revisited. Y._attach attaches the specified modules (without 
considering its dependencies), so this does the same thing.

The idea here is that if there's literal <script> element loading YUI2 module, 
that code needs to be made available to the global YAHOO object before other 
<script> elements that follow it starts executing. So we can't just use 
Y.use(name) to let it lazily load.


  Commit: 36ad093c4eca63aaa71355fc0009303cc070acca
      
https://github.com/jenkinsci/jenkins/commit/36ad093c4eca63aaa71355fc0009303cc070acca
  Author: Kohsuke Kawaguchi <[email protected]>
  Date:   2012-03-02 (Fri, 02 Mar 2012)

  Changed paths:
    M core/src/main/resources/lib/layout/layout.jelly
  M war/src/main/webapp/scripts/hudson-behavior.js

  Log Message:
  -----------
  configure the loader properly based on the yuiSuffix value


Compare: https://github.com/jenkinsci/jenkins/compare/9ed0407^...36ad093

Reply via email to