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 79621

Summary: Bad usability when input Object does not include setter/getter methods to all private fields
Product: javame Reporter: Lukas Hasik <lhasik>
Component: Web ServicesAssignee: Michal Skvor <misk>
Status: NEW ---    
Severity: blocker CC: joshis
Priority: P3    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description Lukas Hasik 2006-07-03 15:47:02 UTC
(it was bug 6402018) 

---Decription---
A misunderstanding happens when extracted server method returns an object. The
object includes several private methods, but not all of the private fields have
setter/getter methods. The generated code uses only fields that have
setter/getter methods (same as JavaBeans). But user does not aware of it. User
does not understand why only partial set of the original fields are used in the
generated code.

We know about this problem. One of suggestions was showing "invalid" fields
using strikeout font and in tooltip show why this field is disabled. I know that
this could confuse users and it will be fixed in future versions.
--------------
Comment 1 Michal Skvor 2006-09-11 11:06:57 UTC
Will be implemented in upcoming version.
Comment 2 Petr Dvorak 2008-05-05 13:57:35 UTC
Hi misk!

Did you already implement this enhancement? I cannot check it myself now, but since a "Target milestone" field is set to
6.0, it was either implemented (-> issue should be closed), or the target milestone should to be revised (set to 6.5 or
to future)...

Could you please take a look at this enhancement and update it if necessary?

Thanks,

Petr Dvorak (Joshis)