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 239883 - unknown property mark if object is a generic type
Summary: unknown property mark if object is a generic type
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Expression Language (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: Martin Fousek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-31 01:45 UTC by bordasb
Modified: 2014-01-17 02:47 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
screenshot (68.31 KB, image/png)
2014-01-03 19:18 UTC, bordasb
Details
sample project (103.46 KB, application/zip)
2014-01-16 04:16 UTC, bordasb
Details

Note You need to log in before you can comment on or make changes to this bug.
Description bordasb 2013-12-31 01:45:10 UTC
Editor indicates "Unknown property" (yellow underscore) of an objects' property, if the object is generic declared in the managed bean generic super class. The editor nevertheless is able to suggest the right list of property choices including the the property marked "Undefined". 

In short, the editor actually finds the property but still marks it as undefined.
Comment 1 Jiri Prox 2014-01-03 18:39:13 UTC
can you provide screenshot of the problem?
Thanks
Comment 2 bordasb 2014-01-03 19:18:52 UTC
Created attachment 143584 [details]
screenshot

The screenshot shows examples of this minor issue.
Comment 3 Martin Fousek 2014-01-15 08:37:52 UTC
Please could you attach sample project for your issue or just necessary classes to reproduce that?

I don't fully understand your description "objects' property, if the object is generic declared in the managed bean generic super class", sorry. I tried establish something like that but it was probably wrong because I didn't get any "Unknown property" error.

Thanks a lot in advance.
Comment 4 bordasb 2014-01-16 04:16:48 UTC
Created attachment 144014 [details]
sample project

In the attached sample project all 3 properties of Apple marked as undefined, but the editor actually able to identify them.
Comment 5 Martin Fousek 2014-01-16 06:28:20 UTC
(In reply to bordasb from comment #4)
> Created attachment 144014 [details]
> sample project
> 
> In the attached sample project all 3 properties of Apple marked as
> undefined, but the editor actually able to identify them.

Thanks a lot for quick response, I'm going to take a look on that today. Reopening.
Comment 6 Martin Fousek 2014-01-16 08:56:07 UTC
Thanks for the report and your cooperation. Fixed in web-main #c07e80506fd5.
Comment 7 Quality Engineering 2014-01-17 02:47:15 UTC
Integrated into 'main-silver', will be available in build *201401170001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/c07e80506fd5
User: Martin Fousek <marfous@netbeans.org>
Log: #239883 - unknown property mark if object is a generic type