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.
Summary: | Since 8.2 query execution errors now move the caret to the start of the query | ||
---|---|---|---|
Product: | db | Reporter: | brettryan <brettryan> |
Component: | SQL Editor | Assignee: | matthias42 |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | bht |
Priority: | P3 | ||
Version: | 8.2 | ||
Hardware: | PC | ||
OS: | Mac OS X | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
brettryan
2016-11-03 00:21:10 UTC
Your argumentation is sound - the change was introduced together with the fix for #189051. The system tries to extract the correct location of an error, but relies on a supported DBMS to do this. So the error location is still reported now, but the caret is not moved anymore. The fix is pushed as: http://hg.netbeans.org/core-main/rev/7fdd3974b83e Integrated into 'main-silver', will be available in build *201701120001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/7fdd3974b83e User: Matthias Blaesing <matthias42@netbeans.org> Log: #268794: Revert automatic caret movement introduced with fix for #189051 The intention of the implementation was to make it easier to react to errors, but in bug report #268794 valid points were raised, that made this impractical: - The cursor was already at the offending place within the query. - The query is executed, then the editor changes are being made while a long running query is executing, the cursor changes position while still typing after the execution completes. As not all DBMS return valid or precise locations, this part of the fix is reverted. *** Bug 270530 has been marked as a duplicate of this bug. *** |