Skip to content

Conversation

AndriySvyryd
Copy link
Member

@AndriySvyryd AndriySvyryd commented Oct 10, 2024

Fixes #33337

Description

In EF Core 8.0.3 we fixed an issue where empty lines were incorrectly removed from literals in migration scripts. However, this caused some operations to contain only empty lines.

Customer impact

Exception thrown when applying a migration in the above scenario, as it's considered an error to execute an empty operation.

How found

Multiple customer reports since 8.0.3

Regression

Yes, from 8.0.2. Introduced in #32788

Testing

Tests added

Risk

Low.

@AndriySvyryd AndriySvyryd merged commit 44ab1d8 into Issue34841 Oct 11, 2024
6 checks passed
@AndriySvyryd AndriySvyryd deleted the Issue33337 branch October 11, 2024 01:19
AndriySvyryd added a commit that referenced this pull request Oct 14, 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.

2 participants