Skip to content
This repository was archived by the owner on Jan 28, 2020. It is now read-only.
This repository was archived by the owner on Jan 28, 2020. It is now read-only.

[Learning resource panel] If user choose a vocabulary name like (((() and exit panel without saving data it is not showing warning message. #903

@amir-qayyum-khan

Description

@amir-qayyum-khan
Use case:
  • If users creates a vocabulary with name like (((().
  • And Inside learning resource panel if he choose this vocabulary and then choose one of its terms.
  • And try to close panel without saving data.

Expected behaviour:

  • It should show a warning alert and ask user to save date.

Actual behaviour:

  • Learning resource panel exit without any warning.
  • On console found error:
    jquery.js:4224 Uncaught SyntaxError: Invalid regular expression: /(^|\.)select2\.(?:.*\.|)select2-term-()(((()(\.|$)/: Unterminated group
  • It seems issue is with regular expression some where.

@pwilkins @pdpinch

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions