AnsweredAssumed Answered

Disabling Allow deletion of portal record IGNORED

Question asked by Fred(CH) on Mar 13, 2015
Latest reply on Jun 3, 2015 by Fred(CH)

Summary

Disabling Allow deletion of portal record IGNORED

Version

11 (at least) to 13

Operating system version

All

Description of the issue

When activate a portal row where the portal doesn't allow row deletion, if you perform a "Delete Record" script step AND if not any field have the focus, the step is deleting the portal row instead the entire record.

Steps to reproduce the problem

Create a portal where "Allow deletion of portal record" option is unchecked
Create a script that invoke the Delete Record step
In browse Mode, Activate a portal row but without enter in a field
Execute your script

Test the behaviors within the simple test file provided below.

Expected result

The main record must be deleted without dialog or after appropriate dialog depending if you checked the option "with dialog" in your script.

Actual result

The related record is deleted without dialog or a dialog ask you to confirm the deletion of related record if you checked the option "with dialog" in your script.

Exact text of any error message(s) that appear

N/A

Configuration information

N/A

Workaround

Invoke first of all a Commit Record Request to be sure that not any row is selected.

Outcomes