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!

Modal dialog hangs on pageload with spinner

Bas de KlerkDec 23 2021 — edited Dec 27 2021

Hi.
APEX 21.2.1, ORDS 21.4.0.r3481956 on Tomcat 8.5.73, Apache 2.4.6
I',m having a strange problem where a model on pageload hangs with a spinner visible and the pagecontent of the modal not showing (only the previous modal is shown).
Trying to solve a problem in my main application I've setup a simple variant of the problem. This contains a flow trough some modal windows.
First I open a modal page2. This modal opens another modal page3 on top of modal page2. When I submit modal page3 there is a dynamic action on the button on modal page2 which on close of modal page3 submits modal page2.
On submit of modal page2 it should redirect to modal page4.
The last redirect to modal page4 hangs with the spinner visible. If I define a dynamic action showing an alert on pageload of modal page4 I still see the the alert but the content of modal page4 is not shown, it still shows the content of modal page2 ( which is the previous on ) but because of the alert comming from modal page4 I know for sure there is some kind of redirect beeing done, it just somehow not finishes loading the modal.
Also, if I check the apache log ( there is a reverse apache proxy in front of tomcat ) I see that modal page4 is loaded/requested.
This only occurs if the modalpage2 auto submits on close of the one on top of it. If I define a button on modal page2 which carries out the submit (and redirect) on click of a button it just works fine.

Apache log:
[23/Dec/2021:13:16:34 +0100] "GET /apex212/f?p=126:2:12898902648757&p_dialog_cs=IC-TGIoJyrmQildBIL4Ximlo711kyfVY5GUniv0Rl0w0m1apkllxvUuPSq7Ou9DjbiAfk7Lq6MCkQtf1KjpkIg HTTP/1.1" 200 12326
[23/Dec/2021:13:16:35 +0100] "GET /apex212/f?p=126:3:12898902648757&p_dialog_cs=wWUyymKpJPxZeU6xNOk2vPwijH4m5O6cifBvFUXUq9r-sg--I6rIuS-TDw0x-JwyHwSGFp0TXwELhpdOhJXEZg HTTP/1.1" 200 10835
[23/Dec/2021:13:16:36 +0100] "POST /apex212/wwv_flow.accept?p_context=126:3:12898902648757 HTTP/1.1" 200 421
[23/Dec/2021:13:16:36 +0100] "POST /apex212/wwv_flow.accept?p_context=126:2:12898902648757 HTTP/1.1" 200 475
[23/Dec/2021:13:16:36 +0100] "GET /apex212/f?p=126:4:12898902648757:::4::&cs=3y7I9CDW3Tn16rU2958VTxyS3YxYuFqEiBdu8wTthDi-T74nt2pcTYQVE4RR6LYT9EaCo1i6uPk8EN2zJpBFX_Q&p_dialog_cs=qroPVlDQ92kNHJ8JCZbj-Kt1vfiPMc772fJt9OofHlD-6x-w-pM7LFgD4Hn24yn9Z9nirtd3fEHcK_pGtb1h3A HTTP/1.1" 200 10985

If I upload my testapp to apex.world.com it works as expected so no problems there.
Besides this issue I have no problems at all with my infrastructure or apex installation.

Any ideas on how to further get to the cause/solution?
I agree that this is a very specific problem but maybe someone had something similar before and has suggestions for next steps.

Happy holidays
Bas

This post has been answered by James Davies on Mar 25 2022
Jump to Answer
Comments
Post Details
Added on Dec 23 2021
14 comments
1,731 views