Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

SessionManagerBase.publishItem signature changed in 10.1 swc...

Avatar

Level 3

I'm extending SessionManagerBase for our own custom localmanager used for unit testing. ( Which I'm happy to share if anyone is interested. ) Unfortunately, between the 10.0 swc and the 10.1 swc, the method signature has changed.

It used to be:

session_internal function publishItem(p_collectionName:String, p_nodeName:String, p_itemVO:Object, p_overWrite:Boolean=false):void

Now it looks like there's an additional Boolean at the end. ( According to my describeType sleuthing )

What's the actual signature?

1 Accepted Solution

Avatar

Correct answer by
Level 10

HI Sandy,

P2pDataMessaging was added as a parameter to handle p2p data stuff. The actual signature is

session_internal function publishItem(p_collectionName:String, p_nodeName:String, p_itemVO:Object, p_overWrite:Boolean=false,p_p2pDataMessaging:Boolean=false):void

In few weeks , we will have a release that will carry 10.1 source too. Then you wont be having issues on looking up such things

Hope this helps

Thanks

Hironmay

View solution in original post

1 Reply

Avatar

Correct answer by
Level 10

HI Sandy,

P2pDataMessaging was added as a parameter to handle p2p data stuff. The actual signature is

session_internal function publishItem(p_collectionName:String, p_nodeName:String, p_itemVO:Object, p_overWrite:Boolean=false,p_p2pDataMessaging:Boolean=false):void

In few weeks , we will have a release that will carry 10.1 source too. Then you wont be having issues on looking up such things

Hope this helps

Thanks

Hironmay