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 109883 - Editor helper on Temporal annotation returns feature not yet implemented when there are two variables.
Summary: Editor helper on Temporal annotation returns feature not yet implemented when...
Status: RESOLVED WORKSFORME
Alias: None
Product: javaee
Classification: Unclassified
Component: Persistence (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Andrei Badea
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-16 17:39 UTC by llturro
Modified: 2007-07-17 11:32 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Before helper (167.91 KB, image/jpeg)
2007-07-17 10:37 UTC, llturro
Details
Helper exception (331.73 KB, image/jpeg)
2007-07-17 10:38 UTC, llturro
Details

Note You need to log in before you can comment on or make changes to this bug.
Description llturro 2007-07-16 17:39:40 UTC
Editor helper on Temporal annotation returns feature not yet implemented when there are two variables, but not when
there is only one. Steps:

1- Create a JPA Entity.
2- Add two java.util.Date fields in a single line (ex. private java.util.Date control, modification;)
3- A warning will appear telling temporal attributes should be market with @Temporal.
4- Use editor helper to do as it tells.

An error raises telling this feature is not yet implemented. Do the same a single variable and will work perfectly.
Comment 1 Erno Mononen 2007-07-17 09:43:02 UTC
Passing to Andrei.
Comment 2 Andrei Badea 2007-07-17 10:23:58 UTC
Works fine for me with the 070716 sources. If you reopen please attach the entity class and the exception stack trace
(if it's an exception) or a screenshot of the error message. Thanks.
Comment 3 llturro 2007-07-17 10:37:37 UTC
Created attachment 45197 [details]
Before helper
Comment 4 llturro 2007-07-17 10:38:33 UTC
Created attachment 45198 [details]
Helper exception
Comment 5 llturro 2007-07-17 10:41:07 UTC
I'm using 6.0 M10

I posted the screenshots for you to see the exception. Better be sure it's solved. ;D
Comment 6 Andrei Badea 2007-07-17 11:32:11 UTC
Thanks. Let's hope so :-) The exception comes from the Java infrastructure, which is undergoing heavy fixing.