-
Notifications
You must be signed in to change notification settings - Fork 77
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
Add setting ALLOW_PATH_DELETION_TOPOLOGY #3128
Conversation
Test summaryRun details
View run in Cypress Dashboard ➡️ This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard |
Codecov Report
@@ Coverage Diff @@
## master #3128 +/- ##
=======================================
Coverage 97.60% 97.60%
=======================================
Files 272 272
Lines 18818 18822 +4
=======================================
+ Hits 18368 18372 +4
Misses 450 450
Continue to review full report at Codecov.
|
<div class="alert alert-block"> | ||
{% if topologies_by_model|length and not allowed_path_deletion_topology %} | ||
<h4 class="alert-heading">Warning!</h4> | ||
{% blocktrans %}You can't remove <strong>{{ object }}</strong>, some topologies are linked with this path. MModify these topologies before deleting this path.{% endblocktrans %} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Un M de trop à "Modifiy"
En lien avec #2515
Finalement un paramètre
Mais pour garantir la cohérence de la BDD si on la modifie directement en SQL ou dans un outil d'administration externe, un trigger a été ajouté, réalisant le même contrôle : https://github.com/GeotrekCE/Geotrek-admin/pull/3129/files |
3b5e68f
to
005d470
Compare
No description provided.