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.

Bug 140278 - SQL CC: Invalid syntax is suggested by code completion
Summary: SQL CC: Invalid syntax is suggested by code completion
Status: VERIFIED FIXED
Alias: None
Product: db
Classification: Unclassified
Component: SQL Editor (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Andrei Badea
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-16 12:38 UTC by Roman Mostyka
Modified: 2008-07-25 15:42 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Roman Mostyka 2008-07-16 12:38:24 UTC
1. Connect to Java DB 'travel'.
2. Open SQL Editor.
3. Type "select PERSON " and press Ctrl+Space.

Result: List of available metadata appears. But such syntax is invalid, since after table name should be '.' or ',' or
some SQL keyword, but not something from metadata.
Comment 1 Andrei Badea 2008-07-18 15:25:17 UTC
d74650a569f1
Comment 2 Roman Mostyka 2008-07-21 16:03:57 UTC
See the same behavior with the latest sources.
And also I can't find pointed changeset.
Comment 3 Andrei Badea 2008-07-22 16:03:27 UTC
Sorry, I didn't manage to push yesterday as I had hoped.

http://hg.netbeans.org/main/rev/d74650a569f1
Comment 4 Roman Mostyka 2008-07-22 19:20:05 UTC
Still see the same behavior. And I see changes from changeset.
Comment 5 Andrei Badea 2008-07-23 10:29:06 UTC
I see, I tested a slightly different scenario.
Comment 6 Andrei Badea 2008-07-23 13:56:46 UTC
56cfe1ed4198
Comment 7 Roman Mostyka 2008-07-24 10:46:58 UTC
Andrei, are you joking? :)
Still can reproduce this issue.
Comment 8 Andrei Badea 2008-07-25 14:04:06 UTC
The changeset hadn't been pushed yet.
Comment 9 Roman Mostyka 2008-07-25 14:35:33 UTC
Verified with build 080725.
Comment 10 Quality Engineering 2008-07-25 15:42:12 UTC
Integrated into 'main-golden', available in NB_Trunk_Production #344 build
Changeset: http://hg.netbeans.org/main/rev/56cfe1ed4198
User: Andrei Badea <abadea@netbeans.org>
Log: #140278: SQL CC: Invalid syntax is suggested by code completion