🌐 US-Proxy
class="logged-out env-production page-responsive" style="word-wrap: break-word;" >
Skip to content

Fix breaking multi-line CSV values on reading - #5939

Merged
danielbachhuber merged 2 commits into
wp-cli:mainfrom
Takshil-Kunadia:fix/read-multiline-comma-value-csv
Apr 26, 2024
Merged

Fix breaking multi-line CSV values on reading#5939
danielbachhuber merged 2 commits into
wp-cli:mainfrom
Takshil-Kunadia:fix/read-multiline-comma-value-csv

Conversation

@Takshil-Kunadia

Copy link
Copy Markdown
Contributor

Fixes #5412

@Takshil-Kunadia
Takshil-Kunadia requested a review from a team as a code owner April 26, 2024 10:49
@thelovekesh

Copy link
Copy Markdown
Member

Related: #5935

@danielbachhuber danielbachhuber left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR, @Takshil-Kunadia !

Can you include some tests for this change? PHPUnit or Behat tests would be fine.

@Takshil-Kunadia

Copy link
Copy Markdown
Contributor Author

Thanks! @danielbachhuber . I have added Unit test for CSV Iterator and added basic tests along with the test that covers the intended scenario. Please review...

@danielbachhuber danielbachhuber left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR and the tests!

@danielbachhuber
danielbachhuber merged commit d96b792 into wp-cli:main Apr 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

\WP_CLI\Iterators\CSV breaks with multi-line CSV values

4 participants