This topic contains 5 replies, has 0 voices, and was last updated by darrenhillconsulting 8 years, 1 month ago.

  • Author
    Posts
  • #1774

    darrenhillconsulting

    So, 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.

  • #1775

    chanarbon

    Hi 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.

  • #1776

    darrenhillconsulting

    Is 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

  • #1777

    david.smith

    Darren,

    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.

  • #1778

    darrenhillconsulting

    Fair 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.

  • #1779

    darrenhillconsulting

    Happy to see that Defect # 412503 is resolved. I hope some day that Netsuite is more transparent with their ‘silent’ updates every Thursday night. Cheers!

You must be logged in to reply to this topic.