Details

    • Type: Task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.1
    • Fix Version/s: 2.2
    • Component/s: JavaScript
    • Labels:

      Description

      YUI 3.4.0 is to be released shortly.

        Gliffy Diagrams

          Issue Links

            Activity

            Hide
            skodak Petr Skoda added a comment -

            The YUI 3.4.0 seems to be nearly ready for the release.

            Show
            skodak Petr Skoda added a comment - The YUI 3.4.0 seems to be nearly ready for the release.
            Hide
            skodak Petr Skoda added a comment -

            Some notes:
            1/ this seems to be surprisingly compatible with current code, so far I did not find any regression
            2/ I have spent a few hours studying the yui 2in3 today, I do not think we could start using that in the near future because it collides with our own yui2- prefix, we would hate to tweak all current yui2 code and remove the $PAGE->requires->yui2_lib; I personally think it might be best to continue with current yui2 hackery and drop the yui2 completely once we have the new treeview
            3/ I am going to work on more yui2->3 code conversion, ideally there should be no yui2_lib() PHP includes any more

            Show
            skodak Petr Skoda added a comment - Some notes: 1/ this seems to be surprisingly compatible with current code, so far I did not find any regression 2/ I have spent a few hours studying the yui 2in3 today, I do not think we could start using that in the near future because it collides with our own yui2- prefix, we would hate to tweak all current yui2 code and remove the $PAGE->requires->yui2_lib; I personally think it might be best to continue with current yui2 hackery and drop the yui2 completely once we have the new treeview 3/ I am going to work on more yui2->3 code conversion, ideally there should be no yui2_lib() PHP includes any more
            Hide
            stronk7 Eloy Lafuente (stronk7) added a comment -

            Anything to test here? Some uses or so?

            Show
            stronk7 Eloy Lafuente (stronk7) added a comment - Anything to test here? Some uses or so?
            Hide
            skodak Petr Skoda added a comment -

            Everything needs to be tested, that is why I do not think we should put this into stable yet.

            Show
            skodak Petr Skoda added a comment - Everything needs to be tested, that is why I do not think we should put this into stable yet.
            Hide
            stronk7 Eloy Lafuente (stronk7) added a comment -

            Integrated, thanks!

            Show
            stronk7 Eloy Lafuente (stronk7) added a comment - Integrated, thanks!
            Hide
            rwijaya Rossiani Wijaya added a comment -

            The YUI upgrade breaks file upload in filepicker.

            I notice this error while testing MDL-27624 and I can't upload the scorm zip files or any other file types.

            Show
            rwijaya Rossiani Wijaya added a comment - The YUI upgrade breaks file upload in filepicker. I notice this error while testing MDL-27624 and I can't upload the scorm zip files or any other file types.
            Hide
            skodak Petr Skoda added a comment -

            filepicker should be fixed now

            Show
            skodak Petr Skoda added a comment - filepicker should be fixed now
            Hide
            rwijaya Rossiani Wijaya added a comment -

            Hi Petr,

            I updated my integration branch and purge all caches, and still can't upload a file through filepicker.

            To re-produce:

            1. create new scorm activity
            2. upload scorm file
            3. within filepicker, select "upload this file" button, filepicker stays on loading page.
            Show
            rwijaya Rossiani Wijaya added a comment - Hi Petr, I updated my integration branch and purge all caches, and still can't upload a file through filepicker. To re-produce: create new scorm activity upload scorm file within filepicker, select "upload this file" button, filepicker stays on loading page.
            Hide
            samhemelryk Sam Hemelryk added a comment -

            Hi guys,

            I can confirm this is still an issue as well.

            Although I am unsure as to the actual cause of the issue I can fix it by making a one line change within lib/yui/3.4.0/build/io-upload-frame/io-upload-frame-debug.js by adding the following before line 206 (of course you will need to force YUI into debug)

            o.c = o.c || {};

            The error being that o.c is undefined upon that function being called.

            Cheers
            Sam

            Show
            samhemelryk Sam Hemelryk added a comment - Hi guys, I can confirm this is still an issue as well. Although I am unsure as to the actual cause of the issue I can fix it by making a one line change within lib/yui/3.4.0/build/io-upload-frame/io-upload-frame-debug.js by adding the following before line 206 (of course you will need to force YUI into debug) o.c = o.c || {}; The error being that o.c is undefined upon that function being called. Cheers Sam
            Show
            skodak Petr Skoda added a comment - http://yuilibrary.com/projects/yui3/ticket/2530999
            Hide
            skodak Petr Skoda added a comment -

            workaround committed to integration, we do not use 'io' requirement any more in JS

            Show
            skodak Petr Skoda added a comment - workaround committed to integration, we do not use 'io' requirement any more in JS
            Hide
            stronk7 Eloy Lafuente (stronk7) added a comment -

            Checking filepicker works here in order to pass this.

            Show
            stronk7 Eloy Lafuente (stronk7) added a comment - Checking filepicker works here in order to pass this.
            Hide
            stronk7 Eloy Lafuente (stronk7) added a comment -

            I've been playing a bit with editor, repo picker, upload file, enrolments UI, add attachments... and everything seems to continue working.

            Just 2 things to note:

            1) Seems that Safari now is less prone to unfinished uploads, it used to show the in progress icon forever a lot of times and now all the uploads I've performed had finished ok. Yay!
            2) While playing with the enrolments UI, I found some problems, but they don't seem to be related with new YUI version: MDL-29121

            So, passing this. Any new problems should go to new issues.

            Ciao

            Show
            stronk7 Eloy Lafuente (stronk7) added a comment - I've been playing a bit with editor, repo picker, upload file, enrolments UI, add attachments... and everything seems to continue working. Just 2 things to note: 1) Seems that Safari now is less prone to unfinished uploads, it used to show the in progress icon forever a lot of times and now all the uploads I've performed had finished ok. Yay! 2) While playing with the enrolments UI, I found some problems, but they don't seem to be related with new YUI version: MDL-29121 So, passing this. Any new problems should go to new issues. Ciao
            Hide
            stronk7 Eloy Lafuente (stronk7) added a comment -

            Many thanks for the hard work, this has been sent upstream and is available in all the git and cvs repositories.

            Show
            stronk7 Eloy Lafuente (stronk7) added a comment - Many thanks for the hard work, this has been sent upstream and is available in all the git and cvs repositories.

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  5/Dec/11