The layout of some screens may be corrupted when jquery-2.1.4-PATCH_003 is applied.

 
The layout of some screens may be corrupted when jquery-2.1.4-PATCH_003 is applied.

Due to the impact of the following fix, the layout of some screens may be corrupted when jquery-2.1.4-PATCH_003 is applied.
* https://issue.intra-mart.jp/issues/32481

This FAQ describes the following contents related to the fix above.
1. Impact range
2. Permanent remedy
3. Provisional remedy
4. Returning to the status before applying jquery-2.1.4-PATCH_003

[1. Impact range]

   The screen layout may be corrupted when the text area tags are displayed on the edit record screen of TableMaintenance.

   Also, the screen layout may be corrupted when an incorrect string is passed as HTML to the jQuery API in a user module or custom script, etc.
   For details on the impact when specific strings are passed, refer to "About the impact of this fix" below.
   * https://issue.intra-mart.jp/issues/32481

[2. Permanent remedy]

   1. When the screen layout on the edit record screen of TableMaintenance is corrupted

      -> Please use the following official patch released on 2021-10-20 (Wednesday).
         * https://issue.intra-mart.jp/issues/33564

   2. When the screen layout is corrupted after creating a user module or custom script, etc.

      -> Referring to "About the impact of this fix" below, please fix so that an appropriate string is passed as HTML to the jQuery API.
         * https://issue.intra-mart.jp/issues/32481

[3. Provisional remedy]

   1. When the screen layout on the edit record screen of TableMaintenance is corrupted

      -> A provisional remedy is possible by fixing <%RESIN_HOME%>/webapps/<%war extracted directory%>/WEB-INF/jssp/platform/src/tablemaintenance/views/table_edit.js.
         If you apply the official patch released on 2021-10-20 (Wednesday), this remedy is unnecessary.
         If you perform this provisional remedy, please be sure to delete it after applying the official patch.
         Specific remedy method: Please fix the descriptions under <%RESIN_HOME%>/webapps/<%war extracted directory%>/WEB-INF/jssp/platform/src/tablemaintenance/views/table_edit.js as follows.

            1. Add "var rxhtmlTag = /<(?=textarea)(([\w:]+)[^>]*)\/>/ig;" near line 76 as follows.
               * Near line 76 for 2016 Winter to 2021 Summer.
               * Near line 78 for 2016 Summer.
               * Near line 75 for 2015 Summer to 2016 Spring.
               ```
               var RECORD_EXPORT_URL;
               var RECORD_IMPORT_URL;

               // Add from here
               var rxhtmlTag = /<(?=textarea)(([\w:]+)[^>]*)\/>/ig;
               // Add up to here

               /**
                * Initialization process
                *
                * @validate tablemaintenance/views/table_edit_validator#init
                * @onerror handleErrors
                */
               function init(req) {
               ```

            2. Update the line written as "return doc.getXmlString();" near line 849 as follows.
               * Near line 849 for 2020 Summer to 2021 Summer.
               * Near line 848 for 2020 Spring.
               * Near line 780 for 2019 Summer to 2019 Winter.
               * Near line 746 for 2016 Winter to 2019 Spring.
               * Near line 829 for 2016 Summer.
               * Near line 826 for 2015 Summer to 2016 Spring.
               ```
                   inputHidden.setAttribute("id", "registno_" + String(rowNo));
                   inputHidden.setAttribute("class", "registno");
                   tr.appendChild(inputHidden);

               // Update from here
                   var xmlString = doc.getXmlString();
                   return xmlString.replace(rxhtmlTag, "<$1></$2>");
               // Update up to here
               }
               ```

[4. Returning to the status before applying jquery-2.1.4-PATCH_003]

   1. If you want to return to the previous status after applying jquery-2.1.4-PATCH_003 or later

      -> You can return to the status before applying jquery-2.1.4-PATCH_003 by adding jquery_2_1_4_patch_002.imm as a user module.
         When using this user module as a means of avoiding the problem of screen layout corruption on the edit record screen of TableMaintenance, please be sure to uninstall it after applying the official patch released on 2021-10-20 (Wednesday).
         ---------------------------------------------
         ■ Installation method
         ---------------------------------------------
         1. Start IM-Juggling.
         2. Open the existing project (juggling.im) file.
         3. Select the "User Module" tab and click the "+" icon at the top right.
         4. Add the jquery_2_1_4_patch_002.imm file.
            For the installation method, refer to "Setup Guide".
            https://www.intra-mart.jp/document/library/iap/public/setup/iap_setup_guide/texts/create_war/user_module.html
         5. Output the WAR file (*1) and static file (*2).
         6. Perform undeploy.
             https://www.intra-mart.jp/document/library/iap/public/setup/iap_setup_guide/texts/uninstallation/index.html#war
         7. After performing undeploy, deploy the *1 and *2 file sets.
            https://www.intra-mart.jp/document/library/iap/public/setup/iap_setup_guide/texts/deploy/index.html
         ---------------------------------------------
         ■ Uninstallation method
         ---------------------------------------------
         1. Open the IM-Juggling project and delete the user modules that were provided this time.
            You can delete a user module by selecting it and then clicking the "+" icon at the top right.
         2. Output the WAR file (*3) and static file (*4).
         3. Perform undeploy.
             https://www.intra-mart.jp/document/library/iap/public/setup/iap_setup_guide/texts/uninstallation/index.html#war
         4. After performing undeploy, deploy the *3 and *4 file sets.
            https://www.intra-mart.jp/document/library/iap/public/setup/iap_setup_guide/texts/deploy/index.html

--Target -------------------------------------------------------------------------
iAP/Accel Platform/2021 Summer
iAP/Accel Platform/2021 Spring
iAP/Accel Platform/2020 Winter
iAP/Accel Platform/2020 Summer
iAP/Accel Platform/2020 Spring
iAP/Accel Platform/2019 Winter
iAP/Accel Platform/2019 Summer
iAP/Accel Platform/2019 Spring
iAP/Accel Platform/2018 Winter
iAP/Accel Platform/2018 Summer
iAP/Accel Platform/2018 Spring
iAP/Accel Platform/2017 Winter
iAP/Accel Platform/2017 Summer
iAP/Accel Platform/2017 Spring
iAP/Accel Platform/2016 Winter
iAP/Accel Platform/2016 Summer
iAP/Accel Platform/2016 Spring
iAP/Accel Platform/2015 Winter
iAP/Accel Platform/2015 Summer
--------------------------------------------------------------------------------


FAQID:1120
Was this article helpful?
0 out of 0 found this helpful
Powered by Zendesk