Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(migrations): Switches to multiple passes to fix several reported bugs #52592

Closed
wants to merge 1 commit into from

Conversation

jessicajaniuk
Copy link
Contributor

@jessicajaniuk jessicajaniuk commented Nov 7, 2023

Rather than migrate all in one pass, this now migrates in a separate pass per control flow item plus one for templates at the end. This resolves issues with multiple control flow items on a single element as well as making sure ng-templates are fully migrated before being moved to new locations.

The tradeoff to supporting these cases is performance of the migration.

fixes: #52518
fixes: #52516
fixes: #52513

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

Does this PR introduce a breaking change?

  • Yes
  • No

@jessicajaniuk jessicajaniuk added action: review The PR is still awaiting reviews from at least one requested reviewer target: patch This PR is targeted for the next patch release area: migrations Issues related to `ng update` migrations labels Nov 7, 2023
@ngbot ngbot bot added this to the Backlog milestone Nov 7, 2023
@jessicajaniuk jessicajaniuk force-pushed the migrate-templates branch 2 times, most recently from a1f1c51 to 77a27ab Compare November 7, 2023 18:22
@jessicajaniuk jessicajaniuk force-pushed the migrate-templates branch 2 times, most recently from 9f8eba6 to 4cee3cf Compare November 7, 2023 20:07
@jessicajaniuk
Copy link
Contributor Author

multipass

@jessicajaniuk jessicajaniuk added action: merge The PR is ready for merge by the caretaker and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels Nov 7, 2023
…bugs

Rather than migrate all in one pass, this now migrates in a separate pass per control flow item plus one for templates at the end. This resolves issues with multiple control flow items on a single element as well as making sure ng-templates are fully migrated before being moved to new locations.

fixes: angular#52518
fixes: angular#52516
fixes: angular#52513
@atscott
Copy link
Contributor

atscott commented Nov 8, 2023

This PR was merged into the repository by commit b9e2893.

@atscott atscott closed this in b9e2893 Nov 8, 2023
atscott pushed a commit that referenced this pull request Nov 8, 2023
…bugs (#52592)

Rather than migrate all in one pass, this now migrates in a separate pass per control flow item plus one for templates at the end. This resolves issues with multiple control flow items on a single element as well as making sure ng-templates are fully migrated before being moved to new locations.

fixes: #52518
fixes: #52516
fixes: #52513

PR Close #52592
@jessicajaniuk jessicajaniuk deleted the migrate-templates branch November 9, 2023 20:34
tbondwilkinson pushed a commit to tbondwilkinson/angular that referenced this pull request Dec 6, 2023
…bugs (angular#52592)

Rather than migrate all in one pass, this now migrates in a separate pass per control flow item plus one for templates at the end. This resolves issues with multiple control flow items on a single element as well as making sure ng-templates are fully migrated before being moved to new locations.

fixes: angular#52518
fixes: angular#52516
fixes: angular#52513

PR Close angular#52592
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Dec 10, 2023
ChellappanRajan pushed a commit to ChellappanRajan/angular that referenced this pull request Jan 23, 2024
…bugs (angular#52592)

Rather than migrate all in one pass, this now migrates in a separate pass per control flow item plus one for templates at the end. This resolves issues with multiple control flow items on a single element as well as making sure ng-templates are fully migrated before being moved to new locations.

fixes: angular#52518
fixes: angular#52516
fixes: angular#52513

PR Close angular#52592
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
action: merge The PR is ready for merge by the caretaker area: migrations Issues related to `ng update` migrations target: patch This PR is targeted for the next patch release
Projects
None yet
4 participants