APAR status
Closed as program error.
Error description
PROBLEM: When opening a hyperlink URL that has character # in the URL link, the character # is converted to it's hex equivalent of %23. Thus, the URL becomes invalid and you are not able to open the link. This was tested on both IE 6 and 8. Hyperlink URL: http://www.ibm.com/ eti/ETIDept/Process&Tools/ProcessMgt/Publish/index.htm#core. std_cat_def.base/disciplines/or_14C51F37.html When opened from the application, the link is converted to this: http://www.ibm.com/ eti/ETIDept/Process&Tools/ProcessMgt/Publish/index.htm%23core. std_cat_def.base/disciplines/or_14C51F37.html and does not work. Steps to reproduce: Define a section in an application to launch URLs from. Current Erroneous Results: # converted to %23 Expected result: # should not be converted ENVIRONMENT: - SRM : 7201 - MBS : 7116 - OS : AIX 61 - DB : DB2 95
Local fix
1.) Make a back up of library.js in directory ...\IBM\SMP\maximo\applications\maximo\maximouiweb\webmodule\web client\javascript 2.) Edit library.js and find the following lines of code: function openURL(url) { while(url.search("#")>-1) { url=url.replace("#", "%23"); } urlValue = url; stopFocus=true; setTimeout(newWindow(), 3000); } 3.) Comment out the while loop as follows: function openURL(url) { // while(url.search("#")>-1) // { // url=url.replace("#", "%23"); // } urlValue = url; stopFocus=true; setTimeout(newWindow(), 3000); } 4.) Rebuild and deploy maximo.ear and also delete the browser's temporary internet files.
Problem summary
**************************************************************** * USERS AFFECTED: n/a * **************************************************************** * PROBLEM DESCRIPTION: PROBLEM: * * * * When opening a hyperlink URL that has * * character # in the URL * * * * link, the character # is converted to * * it's hex equivalent of * * * * %23. Thus, the URL becomes invalid and * * you are not able to open * * * * the link. This was tested on both IE 6 * * and 8. * * * * Hyperlink URL: * * * * http://www.ibm.com/ * * * * eti/ETIDept/Process&Tools/ProcessMgt/Pu * * blish/index.htm#core. * * * * std_cat_def.base/disciplines/or_14C51F3 * * 7.html * * * * When opened from the application, the * * link is converted to this: * * * * http://www.ibm.com/ * * * * eti/ETIDept/Process&Tools/ProcessMgt/Pu * * blish/index.htm%23core. * * * * std_cat_def.base/disciplines/or_14C51F3 * * 7.html * * * * and does not work. * * * * Steps to reproduce: * * * * Define a section in an application to * * launch URLs from. * * * * Current Erroneous Results: # converted * * to %23 * * * * Expected result: # should not be * * converted * * * * ENVIRONMENT: * * * * - SRM : 7201 * * * * - MBS : 7116 * * * * - OS : AIX 61 * * * * - DB : DB2 95 * * * * LOCAL FIX: * * * * 1.) Make a back up of library.js in * * directory * * * * ... IBM SMP maximo applications maximo * * maximouiweb webmodule web * * * * client javascript * * * * 2.) Edit library.js and find the * * following lines of code: * * * * function openURL(url) * * * * while(url.search("#")>-1) * * * * url=url.replace("#", "%23"); * * * * urlValue = url; * * * * stopFocus=true; * * * * setTimeout(newWindow(), 3000); * * * * 3.) Comment out the while loop as * * follows: * * * * function openURL(url) * * * * // while(url.search("#")>-1) * * * * // * * * * // url=url.replace("#", "%23"); * * * * // * * * * urlValue = url; * * * * stopFocus=true; * * * * setTimeout(newWindow(), 3000); * * * * 4.) Rebuild and deploy maximo.ear and * * also delete the browser's * * * * temporary internet files. * * * **************************************************************** * RECOMMENDATION: * * * * * * * **************************************************************** # (POUND SIGN) BEING CONVERTED TO %23 IN THE URL.
Problem conclusion
Fixed. Character is no longer encoded for doclinks. The fix for this APAR is contained in the following maintenance package: | release\fix pack | REL 7.1.1.10 - BS
Temporary fix
Comments
APAR Information
APAR number
IV05135
Reported component name
SYSTEM CONFIG
Reported component ID
5724R46S1
Reported release
711
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2011-08-09
Closed date
2011-09-08
Last modified date
2011-09-08
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Modules/Macros
MAXIMO
Fix information
Fixed component name
SYSTEM CONFIG
Fixed component ID
5724R46S1
Applicable component levels
R711 PSY
UP
[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSLKT6","label":"IBM Maximo Asset Management"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"711","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]
Document Information
Modified date:
08 September 2011