Skip to content

Conversation

@iSazonov
Copy link
Collaborator

@iSazonov iSazonov commented Apr 8, 2020

PR Summary

Fix #12279.

Add null check because AsNeeded parameter in ConvertTo-Csv and ExportTo-Csv cmdlets needs to analyze a value before quoting.

PR Context

PR Checklist

@iSazonov iSazonov added the CL-General Indicates that a PR should be marked as a general cmdlet change in the Change Log label Apr 8, 2020
@iSazonov iSazonov added this to the 7.0.x-Servicing-Consider milestone Apr 8, 2020
@ghost ghost assigned anmenaga Apr 8, 2020
@TravisEz13 TravisEz13 changed the title Fix NRE in csv commands Add null check because AsNeeded parameter in ConvertTo-Csv and ExportTo-Csv cmdlets needs to analyze a value before quoting. Apr 8, 2020
@anmenaga anmenaga merged commit b1e9980 into PowerShell:master Apr 8, 2020
@iSazonov iSazonov deleted the csv-nre branch April 9, 2020 03:19
@TravisEz13 TravisEz13 modified the milestones: 7.0.1-approved, 7.0.1 Apr 20, 2020
@ghost
Copy link

ghost commented Apr 23, 2020

🎉v7.1.0-preview.2 has been released which incorporates this pull request.:tada:

Handy links:

@ghost
Copy link

ghost commented May 14, 2020

🎉v7.0.1 has been released which incorporates this pull request.:tada:

Handy links:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CL-General Indicates that a PR should be marked as a general cmdlet change in the Change Log

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ConvertTo-Csv and Export-Csv fail when -usequotes asneeded option is used and input object has null properties

4 participants