[COMPASS-6737] utf8 encoding errors aren't showing up in the UI when encountered by analyeCSVFields() Created: 19/Apr/23  Updated: 29/Oct/23  Resolved: 21/Apr/23

Status: Closed
Project: Compass
Component/s: None
Affects Version/s: None
Fix Version/s: 1.36.4

Type: Task Priority: Major - P3
Reporter: Le Roux Bodenstein Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Epic Link: COMPASS-5576
Story Points: 1
Documentation Changes: Not Needed
Sprint: Iteration Zebrafish

 Description   

Example file here: https://www.mongodb.com/community/forums/t/mongodb-does-not-accept-text-with-accents-when-importing-from-csv/222582/5

The process errors with "The encoded data was not valid for encoding utf-8" as expected, but the progress is just stuck at 0%.



 Comments   
Comment by Githook User [ 24/Apr/23 ]

Author:

{'name': 'Le Roux Bodenstein', 'email': 'lerouxb@gmail.com', 'username': 'lerouxb'}

Message: fix(import): If listCSVFields() or analyzeCSVFields() fails it will display the error in the modal COMPASS-6737 (#4278)

  • If listCSVFields() or analyzeCSVFields() fails it will display the error in the modal
  • close the modal if open
  • rather just close the modal when disconnecting
  • better: set isOpen inside the reducer
  • minus exclusive test
  • lint
  • log the full error message if it doesn't match
  • move the tests out of the beforeEach hook
  • sans exclusive test..
Comment by Githook User [ 21/Apr/23 ]

Author:

{'name': 'Le Roux Bodenstein', 'email': 'lerouxb@gmail.com', 'username': 'lerouxb'}

Message: fix(import): If listCSVFields() or analyzeCSVFields() fails it will display the error in the modal COMPASS-6737 (#4278)

  • If listCSVFields() or analyzeCSVFields() fails it will display the error in the modal
  • close the modal if open
  • rather just close the modal when disconnecting
  • better: set isOpen inside the reducer
  • minus exclusive test
  • lint
  • log the full error message if it doesn't match
  • move the tests out of the beforeEach hook
  • sans exclusive test..
Comment by Githook User [ 21/Apr/23 ]

Author:

{'name': 'Le Roux Bodenstein', 'email': 'lerouxb@gmail.com', 'username': 'lerouxb'}

Message: fix(import): If listCSVFields() or analyzeCSVFields() fails it will display the error in the modal COMPASS-6737 (#4278)

  • If listCSVFields() or analyzeCSVFields() fails it will display the error in the modal
  • close the modal if open
  • rather just close the modal when disconnecting
  • better: set isOpen inside the reducer
  • minus exclusive test
  • lint
  • log the full error message if it doesn't match
  • move the tests out of the beforeEach hook
  • sans exclusive test..
Comment by Githook User [ 21/Apr/23 ]

Author:

{'name': 'Le Roux Bodenstein', 'email': 'lerouxb@gmail.com', 'username': 'lerouxb'}

Message: fix(import): If listCSVFields() or analyzeCSVFields() fails it will display the error in the modal COMPASS-6737 (#4278)

  • If listCSVFields() or analyzeCSVFields() fails it will display the error in the modal
  • close the modal if open
  • rather just close the modal when disconnecting
  • better: set isOpen inside the reducer
  • minus exclusive test
  • lint
  • log the full error message if it doesn't match
  • move the tests out of the beforeEach hook
  • sans exclusive test..
Comment by Githook User [ 21/Apr/23 ]

Author:

{'name': 'Le Roux Bodenstein', 'email': 'lerouxb@gmail.com', 'username': 'lerouxb'}

Message: fix(import): If listCSVFields() or analyzeCSVFields() fails it will display the error in the modal COMPASS-6737 (#4278)

  • If listCSVFields() or analyzeCSVFields() fails it will display the error in the modal
  • close the modal if open
  • rather just close the modal when disconnecting
  • better: set isOpen inside the reducer
  • minus exclusive test
  • lint
  • log the full error message if it doesn't match
  • move the tests out of the beforeEach hook
  • sans exclusive test..
Generated at Wed Feb 07 22:44:11 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.