This topic contains 5 replies, has 0 voices, and was last updated by darrenhillconsulting 8 years, 1 month ago.
-
AuthorPosts
-
September 20, 2016 at 6:13 pm #1774
darrenhillconsultingSo, I’m a Typescript guy, so my javascript files are generated for me. By default, TypeScript injects the ‘use strict’ directive into the javascript. This caused an issue for my client scripts, as there are still lots of end users that use out-dated browsers that do play nice with ‘use strict’.
So, no big deal, I’ll simply remove that from all my generated javascript.
However, now when I do that, Netsuite throws the following error
Fail to evaluate script: org.mozilla.javascript.EcmaError: ReferenceError: “document” is not defined. (N/https.js#11)
So, I can’t even remove it!
Now what. Tell me clients the need to move to Chrome? I appreciate Netsuite doing some ‘evaluating’ of the scripts as I load them, but this is a problem.
Anyone else see this?
This is a cached copy. Click here to see the original post. -
September 20, 2016 at 10:41 pm #1775
chanarbonHi Darren,
If you are encountering this error, can I confirm if you are already using NetSuite version 2016.2? If yes, we are tracking this through Defect # 412503. Please let us know if you are reproducing it using a 2016.1 account through a support case so we can track it.
-
September 21, 2016 at 7:40 am #1776
darrenhillconsultingIs there a way I can view/monitor that defect? In SuiteAnswers or SuiteIdeas?
rnedelkow replied on 09/21/2016, 08:09 AM: You would need to have a Support case attached to the Defect in order to view it in your NetSuite Support Center. See this SuiteAnswer for details – https://netsuite.custhelp.com/app/an…pport%20center
-
September 21, 2016 at 9:30 am #1777
david.smithDarren,
Here is the article you should reference. https://netsuite.custhelp.com/app/an…wser%20support
With that, the audience you refer to is less than 1% of the remaining browser usage out there. And, yes, they should move to Chrome. Depending on which status you look at, Chrome has almost 75% of the users.
-
September 21, 2016 at 2:14 pm #1778
darrenhillconsultingFair enough David,
I’m always pleading with my clients to use modern browsers, but I cannot control that. In some cases, the browsers are locked down my their IT department (that are pre-historic) and have no control over them. Point is, I know if I strip that line, I’m good.
david.smith replied on 09/21/2016, 02:30 PM: I completely understand.
-
September 23, 2016 at 10:32 am #1779
darrenhillconsultingHappy to see that Defect # 412503 is resolved. I hope some day that Netsuite is more transparent with their ‘silent’ updates every Thursday night. Cheers!
-
AuthorPosts
You must be logged in to reply to this topic.