Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

BRANCH_TO_PAGE_ACCEPT triggers duplicate page submission detection

Eric Olson 1Feb 7 2024

I have a page with an item and button. The button submits the page, after which a page process runs. The page has “Enable duplicate page submissions” set to “No - Prevent page from being re-posted”.

On a second page, I want to run the first page's process as if I'd clicked its button. So I have a link with a REQUEST of BRANCH_TO_PAGE_ACCEPT|P1_BUTTON. This triggers the duplicate page submission detection and I get an error of “This page was already submitted and can not be re-submitted.”

If I change “Enable duplicate page submissions” is set to “Yes - Enable page to be re-posted”, I don't get the error, but I do actually want to prevent users from double-submitting a page. I'm would guess this is happening because this way there is no hidden pPageSubmissionId value and it thinks the page has been re-posted.

Is this intended behavior? It seems unintuitive to me.

This is happening to me on 20.1, but I can replicate it in the cloud on 23.2.1. Demo here: https://apex.oracle.com/pls/apex/r/eric_olson_ws/test-branch-dup-submit/home

Comments
Post Details
Added on Feb 7 2024
3 comments
519 views