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!

APEX Team Development, Bug with Add attachment to issue button

Tom vd DuinJun 3 2025

Hi,

We're using APEX 24.2 patch 5.

With APEX 24.1, the url generated for modal windows using the apex_util.prepare_url function is changed and can't be opened with window.location.assign(), but instead, apex.navigation.redirect() should be used.

in Team Development, Page 100 (the issue page), there is a button in the Markdown editor to add an attachment and that button is broken: when you click it, you are redirected to the ORDS landing page. The url for the modal window is stored in item P100_ATTACH_FILES_TARGET_URL and when I inspect the page, it contains: #action$a-dialog-open?url=…. I see that this url is passed to apex.issues.addAttachButton, that is declared in the issues.utils.js file. And there, on line 95, it is opened with window.location.assign($v(pTargetUrlItemName)). That should be changed to apex.navigation.redirect($v(pTargetUrlItemName)).

Can you fix this in a comming release?

@jayson-hanes-apex-pm-oracle

Comments
Post Details
Added on Jun 3 2025
1 comment
121 views