I have a client script which ran 2.x but i needed ...
# suitescript
c
I have a client script which ran 2.x but i needed to update it to 2.1 since i need to implement a lib and some functions which i need version 2.1 for. Currently i have a suitelet which is 2.x, but i updated that to 2.1 and also tried to use 2.x, does not matter which version i use for this script. But the suitelet parses some context data, to the client script which then handles it. But as soon as i update the client script to 2.1, then the context will then equal : context = null, and i cant get the data and i really have no idea why this is
s
In the last couple of weeks, there have been lots of people saying they have problems with the context in 2.1 client scripts
c
Well... What do i do then
i reported the error to NS
Oracle*
a
• No deployed Client Scripts 2.1 = Problems. • Deployed Client Scripts 2.1 = No Problems so far.
d
@c c I cant seem to link since is older thread, but maybe you can find if you search slack for
Defect#635679
basically I already went through NS support and they acknowledged is a defect essentially 2.1 Client scripts (when attached via Suitelet Form) do not load their context properly NetSuite code "thinks" it is a SuiteScript 1.0 script instead, so that is why the context arguments load as such