MatteoKrings

Error leads to commit

Discussion created by MatteoKrings on Aug 31, 2016
Latest reply on Sep 2, 2016 by TSGal

Product and version Filemaker Pro 15.01.119

OS and version Mac OS 10.11.5

 

Hello,

 

I would like to report the following bug:

 

I edit records through a relationship by using a portal and if there is an error I revert the parent record to cancel all edits made.

 

If I insert a document into a container during this process and the container field is not present on the layout with the portal I get error 102 as expected, but the record can not be reverted because it has already been committed and all edits made before the error are saved.

I realised that the "insert document" script step commits the record when the container field is not present.

 

I have built a small test file to reproduce the error.

One edit is made to a text field through the relationship and then after the insert field step generates the error, the record ist committed. This can be seen, as the content of the text field is not reverted to empty.

 

The workaround can be found here: Error 102 - Field missing commits the record?

 

Regards,

 

Matteo

Attachments

Outcomes