epam / ketcher

Web-based molecule sketcher
https://lifescience.opensource.epam.com/ketcher/demo.html
Apache License 2.0
482 stars 163 forks source link

No alert error message when trying to open incorrect InChi string #657

Closed nseufulina closed 3 years ago

nseufulina commented 3 years ago

Steps to Reproduce

  1. Launch Ketcher
  2. Click Open
  3. In the 'Input' field put the incorrect InChi string, for example: 1S/C9H14/c1-3-5-7-9-8-6-4-2/h3,5-9H,4H2,1-2H3/b5-3-,8-6+,9-7+ - start string "InChI=" is absent; InChI=1S/C7H16O/c1-2-3-4-5-6-7-8/h8H,2-7H2,1Ж3 - russian letter; InChI=1S/C7H160/c1-2-3-4-5-6-7-8/h8H,2-7H2,1H3 - null instead the O InChI=1S/C7H16O/c1-2-3-4-5-6-7-8$h8H,2-7H2,1H3 - special symbol, etc.
  4. Click OK

Expected behavior Error message in alert window, stating that an unrecognized InChI String was encountered.

Actual behavior There is message in console, but no alert window.

Screenshots image image

Desktop (please complete the following information):

nseufulina commented 3 years ago

Release/2.3 Closed as fixed.