Skip to content

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

Closed
jessicajaniuk wants to merge 1 commit intoangular:mainfrom
jessicajaniuk:migrate-templates
Closed

fix(migrations): Switches to multiple passes to fix several reported bugs#52592
jessicajaniuk wants to merge 1 commit intoangular:mainfrom
jessicajaniuk:migrate-templates

Conversation

@jessicajaniuk
Copy link
Copy Markdown
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`/`ng generate` 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
Copy Markdown
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
Copy Markdown
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
@angular-automatic-lock-bot
Copy link
Copy Markdown

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`/`ng generate` migrations target: patch This PR is targeted for the next patch release

Projects

None yet

5 participants