My Oracle Support Banner

af:showPrintablePageBehavior Fails Inside Form With usesUpload=true Defined In TaskFlow (Doc ID 2287664.1)

Last updated on OCTOBER 25, 2022

Applies to:

Oracle JDeveloper - Version 12.2.1.2.0 and later
Information in this document applies to any platform.

Symptoms

Component af:showPrintablePageBehavior fails when inside a form with usesUpload=true defined in a view accessible from a task flow.
Instead of showing printable page, it shows a 404 error page.

However, this component works fine when usesUpload=false.

This issue happens in 12.2.1.2.0.
In ADF 11.1.1.7.0 the showPrintablePageBehavior works with usesUpload=true or false.

It was noticed that:
* the enctype of the form is set to "multipart/form-data"
* parameter "Adf-Window-ID" is being passed twice when "usesUpload=true": as url query parameter and in the post data (both have same value) . When using "usesUpload=false" it is only passed once as post parameter.

In order to reproduce the problem, just create on JDeveloper Suite 12.2.1.2.0 an "ADF Fusion Web Application" adding a task flow and a view. In the view add a form setting usesUpload to true and label and a button with af:showPrintablePageBehavior.

Changes

 

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.