[jira] [Comment Edited] (OFBIZ-9978) Upgrade Jquery 1.11.0 to JQuery 3.2.1

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Comment Edited] (OFBIZ-9978) Upgrade Jquery 1.11.0 to JQuery 3.2.1

Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-9978?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16265395#comment-16265395 ]

Jacques Le Roux edited comment on OFBIZ-9978 at 11/24/17 4:44 PM:
------------------------------------------------------------------

About plugins migration, I was reviewing what I did [last time|http://svn.apache.org/viewvc?view=revision&revision=1559769], to get an idea about what to do or not today.
Here is a summary of the interesting parts:
{quote}
This is a major update of jQuery and related, it contains:
    jquery-1.8.2 to jquery-1.10.2 which implies using jquery-migrate-1.2.1 for plugins compatiblities
    jquery-ui-timepicker-addon-1.0.5 to jquery-ui-timepicker-addon-1.4.3 (using min now, better i18n)
    jquery-ui-1.9.0 to jquery-ui-1.10.3
    jquery.hotkeys-0.7.9 to jquery.hotkeys-0.8
    jquery.maskedinput-1.2.2 to jquery.maskedinput-1.3.1
    jquery.validate 1.10.0 to 1.11.1
    jquery.jcarousel ?(2006) to 0.3.0 (2013)
        untested, found not use cases OOTB
    jquery.flot 0.7 to 0.8.2 (lot of changes, still works)
        removes useless flotpie.ftl
        removes empty flotr folder
    jquery.mobile-1.1.0-rc.1 to jquery.mobile-1.4.0
        untested, found not use cases OOTB
    jquery.cookie to jquery.cookie-1.4.0

css
    I did not find much issues, I spotted the title bar of the lookups, but got it fixed after some efforts.
{quote}

I was mostly wondering about jquery-ui, because, filtering on "-ui" I found some warnings: !Image 001.png!

So I decided to update to jquery-ui-1.12.1 but the result is almost the same: !Image 002.png!

I finally decided to not go further and wait for issues to update. I remember last time it was much work.

To be continued the KISS way, special thanks to Aditya for his work :)


was (Author: jacques.le.roux):
About plugins migration, I was reviewing what I did [last time|http://svn.apache.org/viewvc?view=revision&revision=1559769], to get an idea about what to do or not today.
Here is a summary of the interesting parts:
{quote}
This is a major update of jQuery and related, it contains:
    jquery-1.8.2 to jquery-1.10.2 which implies using jquery-migrate-1.2.1 for plugins compatiblities
    jquery-ui-timepicker-addon-1.0.5 to jquery-ui-timepicker-addon-1.4.3 (using min now, better i18n)
    jquery-ui-1.9.0 to jquery-ui-1.10.3
    jquery.hotkeys-0.7.9 to jquery.hotkeys-0.8
    jquery.maskedinput-1.2.2 to jquery.maskedinput-1.3.1
    jquery.validate 1.10.0 to 1.11.1
    jquery.jcarousel ?(2006) to 0.3.0 (2013)
        untested, found not use cases OOTB
    jquery.flot 0.7 to 0.8.2 (lot of changes, still works)
        removes useless flotpie.ftl
        removes empty flotr folder
    jquery.mobile-1.1.0-rc.1 to jquery.mobile-1.4.0
        untested, found not use cases OOTB
    jquery.cookie to jquery.cookie-1.4.0

css
    I did not find much issues, I spotted the title bar of the lookups, but got it fixed after some efforts.
{quote}

I was mostly wondering about jquery-ui, because, filtering on "-ui" I found some warnings: !Image 001.png!

So I decided to update to jquery-ui-1.12.1 but the result is almost the same: !Image 002.png!

I finally decided to not go further and wait for issues to udpdate. I remember last time it was much work.

To be contiued the KISS way, special thanks to Aditya for his help :)

> Upgrade Jquery 1.11.0 to JQuery 3.2.1
> -------------------------------------
>
>                 Key: OFBIZ-9978
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-9978
>             Project: OFBiz
>          Issue Type: Improvement
>            Reporter: Aditya Sharma
>            Assignee: Jacques Le Roux
>         Attachments: Image 001.png, Image 002.png, Image 003.png, OFBIZ-9978.patch, OFBIZ-9978.patch, OFBIZ-9978_plugins.patch, OFBIZ-9978_plugins.patch
>
>
> Migration Steps:
> 1. Upgrade JQuery 1.11.0 to 3.2.1
>   * Remove JQuery 1.x & JQuery migrate 1.x
>   * Add JQuery 3.2.1 & JQuery migrate 3.0.0
>   * Rectify any broken code and plugin
> 2. Upgrade all the JQuery plugins to latest
> 3. Remove JQuery migrate 3.0.0 & rectify any broken code



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)