tracker issue : CF-3039728

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

Bug 79523:(Watson Migration Closure)[JFERNANDES] remoteFetch should be none/id/all instead of true/false

| View in Tracker

Status/Resolution/Reason: Closed/Deferred/

Reporter/Name(from Bugbase): João Fernandes / João Fernandes (Joao Fernandes)

Created: 08/20/2009

Components: Flex/Flash, Flex remoting

Versions: 9.0

Failure Type: Unspecified

Found In Build/Fixed In Build: 0000 /

Priority/Frequency: Normal / Unknown

Locale/System: English / Platforms All

Vote Count: 1

Problem:

[JFERNANDES] remoteFetch should be none/id/all instead of true/false. When retrieving an entity with relationships to flex, if those properties were marked as remoteFetch = false, there is no way to identity which entities are related, so a new query is needed just to retrieve them. Now Imagine if we have dozens of relationships.the none and all should act like current true/false values but Id, would serialize only related properties with their corresponding ids populated which would allow to retrieve a specific entity right away.So if we have Artist with many Arts and remoteFetch = id, it would return something like this to Flextype[ Artist = com.adobe.demo.Artist ]   { artist_id = 1,      name = 'Ben Forta',      age = 42,      children = 'A LOT',      arts = [                  type[Art = com.adobe.demo.Art]                  { art_id = 12,                     picture = null,                     year = null,                     more = null                   },    type[Art = com.adobe.demo.Art]                  { art_id = 14,                     picture = null,                     year = null,                     more = null                   },        ] }       
Method:


Result:

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

Watson Bug ID:	3039728

External Customer Info:
External Company:  
External Customer Name: João Fernandes
External Customer Email: 4E9A42C244586146992015D5
External Test Config: 08/20/2009

Attachments:

Comments:

This bug has been voted..
Vote by External U.
23001 | November 10, 2011 07:02:38 PM GMT