Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-41508

Eventing debugger crashes when using toLocaleString in JS

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 6.6.0
    • 7.0.0
    • eventing
    • Security Level: Public
    • None
    • Untriaged
    • 1
    • Unknown

    Attachments

      Issue Links

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          Build couchbase-server-7.0.0-3189 contains eventing commit 7311d2a with commit message:
          MB-41508: Link icudtl.dat file to debugger process

          build-team Couchbase Build Team added a comment - Build couchbase-server-7.0.0-3189 contains eventing commit 7311d2a with commit message: MB-41508 : Link icudtl.dat file to debugger process
          sujay.gad Sujay Gad added a comment -

          Verified using 7.0.0 - 4678
          No debugger crash observed for the following handler.

          function OnUpdate(doc, meta) {
           var d = new Date();
           var us_time = new Date().toLocaleString("en-US",{timeZone: "America/New_York"});
           log('US time: '+ (new Date(us_time)).toISOString())
           console.log(d.toLocaleString());
           console.log(d.toLocaleString('en-US'));
          }
          

           

          sujay.gad Sujay Gad added a comment - Verified using 7.0.0 - 4678 No debugger crash observed for the following handler. function OnUpdate(doc, meta) { var d = new Date(); var us_time = new Date().toLocaleString( "en-US" ,{timeZone: "America/New_York" }); log( 'US time: ' + ( new Date(us_time)).toISOString()) console.log(d.toLocaleString()); console.log(d.toLocaleString( 'en-US' )); }  

          People

            ankit.prabhu Ankit Prabhu
            jeelan.poola Jeelan Poola
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty