Status/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): Devin Holloway / Devin Holloway (Devin Holloway)
Created: 05/09/2009
Components: ORM Support
Versions: 9.0
Failure Type: Unspecified
Found In Build/Fixed In Build: 0000 / 234923
Priority/Frequency: Normal / Unknown
Locale/System: English / Platforms All
Vote Count: 0
Problem:
Error using private/package scope for property setters.
quoted from Rupesh Kumar
Actually when we need to get the data from the object for storing it in DB, we call the getter if it exists and similarly when we need to populate the data in the object, we call the setter if that exists. In this case here, while loading the object, it needs to set the Account object on login object because the relation exists and when it sees that there is a setter, it tries to call it which fails because the access for that method is “package”. Could you please log a bug for the same. We should call the setter/getter only if the access for that is public or remote.
Method:
overwrite any implicit relationship setters with the package scope. then try to load/save enties in that relationship
Result:
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3038510
Deployment Phase: Release Candidate
External Customer Info:
External Company:
External Customer Name: Devin Holloway
External Customer Email: 5E060FD6422E831A992015D5
External Test Config: 05/09/2009
Attachments:
Comments: