tracker issue : CF-3037033

select a category, or use search below
(searches all categories and all time range)
Title:

Bug 74195:if you have an object with a foreign key relationship in ORM-land and tell it to be a type of array

| View in Tracker

Status/Resolution/Reason: Closed/Won't Fix/

Reporter/Name(from Bugbase): Benjamin Archibald / Ben Archibald (BenArchie)

Created: 12/10/2008

Components: ORM Support

Versions: 9.0

Failure Type: Unspecified

Found In Build/Fixed In Build: 0000 /

Priority/Frequency: Normal / Unknown

Locale/System: English / Platforms All

Vote Count: 0

Problem:

if you have an object with a foreign key relationship in ORM-land and tell it to be a type of array.  It does not exist in the object until the object has been initialized.

For example.

blah = new com.object()
blah.setMethod()
blah.save()
blah.getForeignKeyMethod()  

IF its a "new" object (hasn't been entityloaded I suspect) the getForeignKeyMethod() returns nothing, if you then entityload the object you'll get an empty array.  These scenarios should be consistent.


Method:


Result:

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3037033

External Customer Info:
External Company:  
External Customer Name: Ben Archibald
External Customer Email: 3AA72D3444AEF7EB9920157F
External Test Config: 12/10/2008

Attachments:

Comments: