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!

Possible Bug - ERR-1002 Unable to find item ID for item "0" after logout (session timed out, AJAX er

MarkusIdFeb 27 2020 — edited Feb 28 2020

Hello everybody,

I think I have stumbled over a bug in Apex regarding the logout-Process, if a session has already timed out. I do the following:

  • Login to the application
  • Wait, until the session has timed out
  • Do something that triggers an AJAX-call (e.g. click on the "Go"-Button of an Interactive Grid) --> An error message appears that the session has timed out
  • Click the logout-link

Then the following error appears:

error_apex_2020-02-27.png

This happens only, if the Post-Logout-URL is set to URL (not to Home Page) in the authentication scheme and an AJAX-call with a timed-out session has happened before. Any idea, what the reason is, and if this could be worked around (without setting the Post-Logout-URL to "Home Page")?

authentication_scheme_pl_apex_2020-02-27.png

The URL looks quite interesting as well (lots of zeros): https://apex.oracle.com/pls/apex/f?p=66659:09999:0:0:0:0:0

If anybody wants to try (session timeout is set to 30 seconds):

 [https://apex.oracle.com/pls/apex/f?p=66659](https://apex.oracle.com/pls/apex/f?p=66659 "https://apex.oracle.com/pls/apex/f?p=66659")

 Username: demo

 Password: DemoApex2020!?

Best wishes

Markus

This post has been answered by Scott Wesley on Feb 27 2020
Jump to Answer
Comments
Post Details
Added on Feb 27 2020
2 comments
930 views