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 24.2.6 - Form DML validates all parameters regardless of action

Tadas Blinda27 hours ago — edited 6 hours ago

Hello,

I have a Form region (REST Data Source) with “Add Row” and “Delete Row” operations in a Modal page with one DML process.
When I submit a DELETE operation, the DML process validates all required parameters defined for the REST Data Source, regardless of the operation.

Because I have multiple required parameters for the Insert database action (for example “value"), the DELETE operation fails with the following error: “ORA-20999: Required REST Source IN parameter "value" of type "Request body" must have a value.” This happens even though the DELETE operation does not have“value" parameter at all, it requires only one parameter ("id").

Am I missing something? I would like to avoid setting dummy default values for all required params in all forms.

Oracle APEX 24.2.6

Comments
Post Details
Added 27 hours ago
0 comments
44 views