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 234248 - [cc] No autocomplete on domain's dynamic methods
Summary: [cc] No autocomplete on domain's dynamic methods
Status: RESOLVED FIXED
Alias: None
Product: groovy
Classification: Unclassified
Component: Grails (show other bugs)
Version: 7.4
Hardware: PC Linux
: P3 normal (vote)
Assignee: Martin Janicek
URL: http://grails.org/doc/2.1.0/guide/sin...
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-12 06:10 UTC by cyhex
Modified: 2013-08-13 02:24 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 cyhex 2013-08-12 06:10:03 UTC

    
Comment 1 cyhex 2013-08-12 06:19:53 UTC
Same Grails project works fine in Netbeans 7.3.1, however in 7.4Beta it does not provide support for dynamic methods on domain class. (ex.: findBy*)
Comment 2 Martin Janicek 2013-08-12 08:19:24 UTC
Hi cyhex, thanks for the report. From what class (where is it located) are you trying to invoke code completion?
Comment 3 cyhex 2013-08-12 08:35:10 UTC
hi,
i tried to call the methods in controller on class itself and on the istance of a class.

import com.cyhex.domain.Book

class AddressController {

    def index() {
        Book.findByName('myname')
    }
}
Comment 4 Martin Janicek 2013-08-12 11:34:16 UTC
Thanks, I was able to reproduce. Should be fixed in: http://hg.netbeans.org/web-main/rev/90dc2189f367
Comment 5 Quality Engineering 2013-08-13 02:24:44 UTC
Integrated into 'main-silver', will be available in build *201308122300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/90dc2189f367
User: Martin Janicek <mjanicek@netbeans.org>
Log: #234248 - [cc] No autocomplete on domains dynamic methods