v8.3p_2013-01-01/PowerEdition Deployment (built 2013-01-01)
As I can see, after ValuesManager.saveData, all CanvasItems (including IPickTreeItem) present in ValuesManager perform fetchMissingValueReply request.
Example
I will be grateful if you can explain the reason why the things work like that, or is it a bug?
I understand that i can get rid of an extra fetches by setFetchMissingValues(false), but auto-fetching missing values is very helpfull when form is initialized by some values.
On the other hand, extra fetches on valuesManager.saveData seems to be totally unnecessary. Just to be clear - i'm not making any additional setValue() calls which can be the cause of fetching missing values. Maybe it's also worth mentioning that fetches occur only once per value (as it should be - that shows that FetchMissingValues mechanism works without my interference).
So is it a bug, a feature or i messed something up?
I can provide additional details if needed.
As I can see, after ValuesManager.saveData, all CanvasItems (including IPickTreeItem) present in ValuesManager perform fetchMissingValueReply request.
Example
Code:
{ dataSource:"rubSections", operationType:"fetch", componentId:"isc_EtgDynamicForm_0", data:{ id:158 }, callback:{ target:[CanvasItem ID:isc_CanvasItem_0 name:position], methodName:"fetchMissingValueReply" }, showPrompt:false, oldValues:{ id:158 }, requestId:"rubSections$6278", clientContext:{ dataValue:{ Class:"Number", formatter:"toString", localeStringFormatter:"toString", localeProperties:Obj }, filterLocally:{ } }, fallbackToEval:false, componentContext:"position", bypassCache:true }
I understand that i can get rid of an extra fetches by setFetchMissingValues(false), but auto-fetching missing values is very helpfull when form is initialized by some values.
On the other hand, extra fetches on valuesManager.saveData seems to be totally unnecessary. Just to be clear - i'm not making any additional setValue() calls which can be the cause of fetching missing values. Maybe it's also worth mentioning that fetches occur only once per value (as it should be - that shows that FetchMissingValues mechanism works without my interference).
So is it a bug, a feature or i messed something up?
I can provide additional details if needed.
Comment