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