Skip to content

Regular expression error breaks user interface #36

@mmccracken

Description

@mmccracken

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions