Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix empty phone/email/url/fax error #7456

Open
wants to merge 1 commit into
base: 2.6
Choose a base branch
from

Conversation

domPatera
Copy link

Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no

What's in this PR?

Fixes the error when creating a new contact.

Why?

When you try to create a new contact, fill something in a field (e.g. phone), and then delete it, you cannot save the contact because of the following error:
An exception occurred while executing a query: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'phone' cannot be null

@alexander-schranz
Copy link
Member

alexander-schranz commented Jun 19, 2024

Thx for your pull request but I could not reproduce the issue can you record a screencast using https://sulu.rocks/admin how to reproduce it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants