[Bug] [email protected] don't read sessionAtrributes


#1

Hi. I found a possible bug:

LAUNCH Intent:
this.setSessionAttribute('test', 'hihihi');

Another Intent:
let test = this.getSessionAttribute('test'); console.log(test) //undefined

Could you check, please?


#2

Can you try this.$session.$data.test = ‘hihihi’ ?


#3

Yes.

LAUNCH:
this.$session.$data.test = 'hihihi'

Another Intent:
console.log(this.$session.$data.test); //undefined


#4

Hey @hewitt1708

sorry, for the late response.

Both ways worked for me :confused:

What’s in your first response json and in the second request json?


#5

No problem @AlexSwe

I will test again today, and come back with more complete information!