Skip to content
This repository has been 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

Open
amir-qayyum-khan opened this issue Mar 24, 2016 · 0 comments

Comments

@amir-qayyum-khan
Copy link
Contributor

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

@amir-qayyum-khan amir-qayyum-khan changed the title With vocabulary name like (((() in learning resource panel do not show warning message when user try to close it without saving. [Learning resource panel] If user choose a vocabulary name like (((() and exit panel without saving data it is not showing warning message. Mar 24, 2016
@Ferdi Ferdi added the Backlog label Apr 19, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants