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!

Theme Style Switch Fails with Rejoin Session and Friendly URLs in Oracle APEX

I’ve encountered a reproducible issue in Oracle APEX 24.2.6 when using multiple Theme Styles together with session rejoining and End Users can choose Theme Style enabled.

Steps to Reproduce:

  1. Create a new application with at least two Theme Styles.
  2. Set Rejoin Session = Enabled for All Sessions and enable End Users can choose Theme Style.
  3. Run the application and log in.
    • The URL should now look like:
      your-host.com/ords/r/test/test-app/home?session=xxx
  4. In the footer, click Customize and switch the Theme Style.
    • ✅ The style changes successfully, and the page reloads with the new look.
  5. Copy the URL from the address bar. If it includes the session parameter, remove it and keep only the base URL (without a ?).
    • Example: your-host.com/ords/r/test/test-app/home
  6. Reload this cleaned URL.
    • ✅ The page loads as expected, showing that Rejoin Session works correctly.
  7. Again, in the footer, click Customize and switch the Theme Style.
    • ❌ At this point, an error occurs: Page not found.

Analysis:

When the Theme Style is switched, APEX performs a redirect and expects the existing URL to already contain a ?.
If that’s not the case, the parameter success_msg gets appended with an &, producing an invalid URL such as:

your-host.com/ords/r/test/test-app/home&success_msg=XXXXXXXX

Instead of the valid form:

your-host.com/ords/r/test/test-app/home?success_msg=XXXXXXXX

Comments
Post Details
Added on Aug 18 2025
0 comments
38 views