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

Document Type Patterns added by the user get deleted when another DocumentTypePattern that catches the URL is deleted #765

Open
code-geek opened this issue May 23, 2024 · 0 comments

Comments

@code-geek
Copy link
Contributor

code-geek commented May 23, 2024

Description

How to recreate:

  • manually add an individual document type pattern to a URL using the dropdown
  • create a multi-URL document type pattern that catches the URL
  • delete the multi-URL document type pattern from above
  • the initial individual document type pattern either gets deleted or gets unapplied

How to fix:

  • when a document type pattern is deleted and unapplied, remember the last one that was applied and use that instead

Note:
This somehow already works as expected for ExcludePatterns. Maybe use a similar logic.

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

No branches or pull requests

1 participant