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!

Error handling using Apex API apex_error or a error handler does not work when a IG region is on a p

nico.j.klaverMay 11 2018 — edited May 12 2018

Apex 5.1.4

DB   12.2

Using the wizard Two Page Master Detail i Created a summary and a details page with a form and an IG.  Both master an detail are based on a view. I use my own PLSQL processes to handle the DML, when an exception is raised in this procedure i will get the useless message " Error: SyntaxError: Unexpected end of JSON input" .

I do have an error_handler in place which is called according to the debug log. Also using apex_error to set an error does not work.

I believe this behavior has to do with the property 'Reload on Submit'  when set to "Always" everything works as expected, however the IG region will not allow this setting. So the only work around is using validations to validate unique keys and check constraints, which means adding redundant code to my application.

Any other suggestions

This post has been answered by Pierre Yotti on May 12 2018
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 9 2018
Added on May 11 2018
4 comments
289 views