[REG2.066a] Issue 12501 - Assertion `global.gaggedErrors || global.errors' failed.

https://d.puremagic.com/issues/show_bug.cgi?id=12501