Integrity constraint violation

Created on 24 June 2021, over 3 years ago
Updated 25 March 2024, 8 months ago

Problem/Motivation

In some circumstances, it happens that a form is submitted twice and consequently the ID is already created. This situation results in the "Integrity constraint violation" error. Would it be possible to create a rule that in case of ID already present the form is not executed instead of generating an error? Or is there another way to prevent this problem from occurring?

Steps to reproduce

To reproduce the error, simply assign a static value of the webform to the ID field.

💬 Support request
Status

Closed: works as designed

Version

2.0

Component

Code

Created by

🇮🇹Italy braintec Perugia, Umbria

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇵🇹Portugal joaomarques736

    Hello braintec, Thanks for your request.

    Currently this module is working as designed and we don't have in mind any change regarding this for the near future. If you wish, you can reopen this ticket and provide a patch that implements the required functionality.

    Best regards.

  • Status changed to Closed: works as designed 8 months ago
Production build 0.71.5 2024