Load method; seems doesn't flush the cache.

  • 15 October 2009
  • 1 reply
  • 0 views

Badge +1

Hi everybody,
I'm a fresh new K2 Blackpearl user. Here my "helloworld" exercise:

I've created a simple SmartObject with the following properties:
ID : Autonumber (Key)

TKey : Text (Key)

Note : memo


With a "SmartObjects Services Tester"
I've used the "Create" method to create two istances of my SmartObject.

The "GetList" correctly show the records I've created:

ID1;  Key1;  memo1

ID2;  Key2;  memo2


Here my problem with the "Load" method:

When I use "Load ID=ID1 and TKey=key1" it correctly loads:

ID1;  Key1 ;  memo1
but after, when I use "Load ID=ID999 and TKey=key9999"
it loads:
ID9999; Key9999;  memo1".


What's wrong with my first experiment?
It seems it doesn't flash the cache. How can I solve it?


Thanks a lot.

Regards

Max


1 reply

Badge +11

I think that is a pecularity of the tester.  That is not the normal or expected SmartObject behavior.

Reply