This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Created attachment 109882 [details] Fix endless loop in unquote and correct already quoted Hey, after the fix in #179413 for the emtpy quoteString for Informix Databases I'm faced with a endless loop in command completion. The bug was mentioned in #167564 where it was caused and worked around, but not fixed. Attached you find a patch, that fixes the endless loop and still suvives the unittests. Additionally that patch fixes the check "alreadyQuoted", which returned true, if the string just consisted of the quoteString alone (without a matching ending quote). Greetings Matthias
Created attachment 109992 [details] Revised patch (in the completion the case queryString.length() == 0 has to be special cased)
This is a regression - can this go into 7.1? What holds it back?
Thanks for your patch, I'm going review and push in a few days.
Thanks a lot for your patch, was applied in core-main/rev/d6df98245ee6, core-main/rev/3a3f7510183c
Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/3a3f7510183c User: Jiri Rechtacek <jrechtacek@netbeans.org> Log: #200783 - Endless loop in command completion when quoteString = "" (Bugs: #179413, #167564); applied matthias42's patch, thanks