[SERVER-40911] JS Error Created: 30/Apr/19  Updated: 03/May/19  Resolved: 03/May/19

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Question Priority: Minor - P4
Reporter: liugaohui Assignee: Kelsey Schubert
Resolution: Duplicate Votes: 0
Labels: Bug
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

LSB Version: :core-4.1-amd64:core-4.1-noarch:cxx-4.1-amd64:cxx-4.1-noarch:desktop-4.1-amd64:desktop-4.1-noarch:languages-4.1-amd64:languages-4.1-noarch:printing-4.1-amd64:printing-4.1-noarch
Distributor ID: CentOS
Description: CentOS Linux release 7.5.1804 (Core)
Release: 7.5.1804
Codename: Core


Attachments: PNG File image-2019-05-01-00-59-45-956.png    
Issue Links:
Duplicate
duplicates SERVER-20736 Escaping double quote in string withi... Closed
Participants:

 Description   

// JS Error

var str = ""
db.test.find().forEach(function (doc)

{      str = str + ",\"" + "\"" }

)

 

 



 Comments   
Comment by Kelsey Schubert [ 03/May/19 ]

Hi liugaohui,

Thanks for your report, we can reproduce this issue and suspect that the root cause of this behavior is SERVER-20736. I've left a comment to revisit this ticket after completing that work. Please feel free to vote and watch SERVER-20736 for updates.

Kind regards,
Kelsey

Generated at Thu Feb 08 04:56:18 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.