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!

After Upgrade 24.2 issue

Chandler Bing3 days ago

I upgraded APEX from 22.1 to 24.2 and noticed an issue.

We have an Authorization Scheme for an application.

  • If the Authorization function returns FALSE, the expected behavior is that the user should be redirected to the error page, and the message defined in the “Identify error message displayed when scheme violated” field should be shown.
  • This was working fine in APEX 22.1 with Friendly URLs enabled.

However, after the upgrade to 24.2:

  • When the Authorization function returns FALSE, instead of showing the error page and message, a blank white page with “Bad Request” at the top-left is displayed.
  • If Friendly URLs are disabled, it works fine.
  • If the function returns TRUE, it works as expected.
  • The issue only occurs when the function returns FALSE with Friendly URLs enabled.

Example function:

DECLARE l_result BOOLEAN;

BEGIN l_result := custom_authorization('XXXXX');

RETURN l_result;

END;

Anyone faced issue like this? any solution for this?

Comments
Post Details
Added 3 days ago
0 comments
105 views