My Oracle Support Banner

Unable To Open URL Type Attachments With Single Quote/Apostrophe in The URL - URL is Trimmed Till Single Quote. Remaining String After Single Quote is Deleted From The URL (Doc ID 2978291.1)

Last updated on JANUARY 14, 2024

Applies to:

Oracle Applications Framework - Version 12.2.10 to 12.2.12 [Release 12.2]
Oracle iProcurement - Version 12.2.4 to 12.2.12 [Release 12.2]
Oracle iSupplier Portal - Version 12.2.5 to 12.2.12 [Release 12.2]
Information in this document applies to any platform.

Symptoms

When we click on the invoice attachments from the iProc responsibility, the URL is getting terminated at the first instance of a special character - apostrophe ('), and since the link is incomplete, it is not opening the required location and throwing an error. But when the same attachment is accessed through the invoice workbench, the URL is not getting terminated and opens the proper URL location as expected. URLs with single quote (') should be allowed in attachments.


Steps to Reproduce

1. Navigate to iProc responsibility > Orders
2. Enter PO number and click on GO button
3. Choose description --> Details --> click on order number --> Details --> under shipments --> Invoiced hyperlink --> Click on the invoice hyperlink --> attachment form will open --> Click on attachment
4. it will show half URL i.e., trimmed till the single quote


Additional Steps and Symptoms

For viewing attachments to purchase orders:
1. Log in to Oracle Applications as the internal user (buyer or supplier admin).
2. Navigate to iSupplier Portal Internal View responsibility.
3. On the iSupplier Portal Home Page, click the Orders tab.
4. On the Purchase Orders page, search for the purchase order(s).
5. In the search results, the Attachments column shows the paper clip icon with the number of attachments on the document. Click the icon.
6. The Attachments pop-up window now displays and displays the file(s) attached.
7. Click the attachment Title (file name) or the Action down-arrow, and nothing happens.

For viewing attachments to invoices:
1. Log in to Oracle Applications as the internal user (buyer or supplier admin).
2. Navigate to iSupplier Portal Internal View responsibility.
3. On the iSupplier Portal Home Page, click the Invoices link.
4. On the View Invoices page, search for the invoice.
5. In the search results, the Attachments column shows the paper clip icon with the number of attachments on the document. Click the icon.
6. The Attachments pop-up window now displays and displays the file(s) attached.
7. Click the attachment Title (file name) or the Action down-arrow, and nothing happens.

Additional details:
- Hovering over the link, the user can see "Javscript:Adummy()" at the bottom left corner of the browser window.
- Also, if perfoming a right click and select "Copy Link", it shows the same "javascript:Adummy()".
- If performing a right click and select "Inspect", the following error information appears:

3
Uncaught ReferenceError:
pBA6234a041xscAaW503tg is not defined
at HTMLAnchorElement.onclick (OA.jsp?page=/oracle/...2HpbIGOgm0dg..:1:17)

 

 

Changes

This behavior is noted after upgrade to a higher level of Oracle Applications Framework (FND/ATG/FWK), or a full upgrade to Release 12.2.10 or higher.


Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.