Closed vebjorn closed 2 years ago
When looking at the code it might look like the delete-process relies on Project Config, as that is where the event-listeners lie, and doesn't account for the bypassProjectConfig setting at all.
I might be wrong, but it looks like that to me
Should be fixed for the next release. To get the fix early, change your verbb/navigation
requirement in composer.json
to:
"require": {
"verbb/navigation": "dev-craft-4 as 2.0.5",
"...": "..."
}
Then run composer update
.
Fixed in 2.0.6
Describe the bug
Navigations won't let themselves be properly deleted as long as "bypassProjectConfig" is set to true. The entry in the database-table for navs never gets the dateDeleted set
Steps to reproduce
Craft CMS version
4.2.3
Plugin version
2.0.4
Multi-site?
NO
Additional context
This happens both in dev and production, so allowAdminChanges doesn't seem to be in the picture.