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 create tag with same name multiple times #180

Merged

Conversation

alexander-schranz
Copy link
Member

@alexander-schranz alexander-schranz commented Jan 15, 2021

Fix create tag with same name multiple times, without flushing anything.

Fixes #176

@alexander-schranz alexander-schranz changed the title Fix bug create tag with same name multiple times Fix create tag with same name multiple times Jan 15, 2021
@alexander-schranz alexander-schranz force-pushed the bugfix/tagfactory-same-tag-name branch 5 times, most recently from 7696b7c to e9adeca Compare January 15, 2021 12:45
@alexander-schranz alexander-schranz added the Bug Error or unexpected behavior of already existing functionality label Jan 15, 2021
@alexander-schranz alexander-schranz force-pushed the bugfix/tagfactory-same-tag-name branch from e9adeca to 1f51b7d Compare January 15, 2021 13:03
@@ -78,7 +78,8 @@
"Tests/Application/bin/adminconsole sulu:build dev --env dev"
],
"bootstrap-test-environment": [
"Tests/Application/bin/adminconsole doctrine:database:create --if-not-exists --env test",
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

schema update not always work when having foreign key references so I drop in the bootstrap test command the whole database and recreate it.

@niklasnatter niklasnatter self-assigned this Jan 15, 2021
@niklasnatter niklasnatter merged commit 16df2ba into sulu:0.x Jan 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Error or unexpected behavior of already existing functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Duplicated Tag unique constraint error when creating multiple Content with same Tag
2 participants