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

Regular expression error breaks user interface #36

Open
mmccracken opened this issue Apr 22, 2024 · 0 comments
Open

Regular expression error breaks user interface #36

mmccracken opened this issue Apr 22, 2024 · 0 comments

Comments

@mmccracken
Copy link

mmccracken commented Apr 22, 2024

Tested in both v4.1.0 (with project in Umbraco v13.2.2) and v3.2.0 (with project in Umbraco v10.8.5)

If there is an error in the regex (e.g., a missing parenthesis) that is submitted via Umbraco Backoffice, the Simple Redirects Manager tab gets locked up and can not be edited to correct the issue. The only way to fix the error is to make edits directly to the Redirects table in the database. None of the buttons (such as "Delete All") work either.

This is what shows when there is a regex error in any of the redirect entries:
Simple Redirects Error

Would it be possible to have the app validate the regex on save and provide the opportunity to correct before adding to the Redirects table? If that is not possible, would like the ability to correct the regex via the Simple Redirects Manager tab when there is an issue, even if site has been restarted or user has left the Simple Redirects Manager tab.

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