Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

SQL Datasource update operation triggers initial fetch

$
0
0
Hi,

I'm using smartgwt-power-3.1-p20130712.

I have a datasource with
- a field of type "creator"
- 2 fetch operations (one without operation id, and one with operation id = fetchById)
- one update operation that has cacheSyncOperation="fetchById"

When the client calls some form.saveData that triggers an update on the server, first the fetch without operation id is called and then the update is executed.

1) Is that fetch really needed? I don't have any field security specification and my authorization is not based on "creator" concepts. Could that fetch be removed? Or I should not use the "creator" type?

2) Why is called the fetch without operation id and not at least the one specified as cacheSyncOperation?

Regards,
Mihnea

Viewing all articles
Browse latest Browse all 4756

Trending Articles