[COMPASS-4414] Import via CSV creates fields with empty field name Created: 14/Sep/20  Updated: 27/Oct/23  Resolved: 21/Oct/20

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

Type: Bug Priority: Minor - P4
Reporter: Nic Cottrell Assignee: Unassigned
Resolution: Works as Designed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File Screenshot 2020-09-14 at 18.15.44.png     PNG File Screenshot 2020-09-14 at 18.15.54.png    
Issue Links:
Related
related to SERVER-6852 Disallow empty path components in doc... Backlog
Documentation Changes: Not Needed

 Description   

I attempted to import a CSV with an empty final column like:

ip,Hostname,Port,Specs,DC,Role,Deployment,Notes,
10.33.24.63,,3269,,,LDAP Server,,,

The confirmation view doesn't let me change the name, and I didn't notice it.

Then I checked and can confirm I see a field which is an empty string. While this is allowed in JSON objects, this should probably be given a placeholder field name by Compass to avoid compatibility problems later.



 Comments   
Comment by Jessica Sigafoos [ 21/Oct/20 ]

This is the expected behavior if the CSV ends with a comma delimiter and it's expecting an additional field.

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