[COMPASS-3631] Syntax error raised during import does not indicate line in the file where the parsing failed Created: 11/May/19  Updated: 13/Jan/20  Resolved: 16/Aug/19

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

Type: Bug Priority: Major - P3
Reporter: Dmitry Ryabtsev Assignee: Unassigned
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File scr.png     PNG File scr_2.png    
Issue Links:
Tested
tested by COMPASS-3824 Test behavior of new feature in relat... Closed

 Description   

This is a problem that makes troubleshooting for import problems to be rather hard. At present, if one of the documents in the JSON file that is being imported cannot be parsed, the error only indicates position within the current document where the parsing failed. It does not help to figure out where the problem is in the file because there is no offset (line number) indicated for the file:



 Comments   
Comment by Massimiliano Marcon [ 16/Aug/19 ]

We are reimplementing the import/export feature so we won't fix existing bugs. However, we will use existing bugs as a guideline for testing the new implementation.

Generated at Wed Feb 07 22:33:46 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.