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
Control flow schematic: multiple ngIf usages with the i18n attribute produces invalid code #53149
Labels
area: migrations
Issues related to `ng update` migrations
core: control flow
Issues related to the built-in control flow (@if, @for, @switch)
Milestone
Comments
pkozlowski-opensource
added
area: migrations
Issues related to `ng update` migrations
core: control flow
Issues related to the built-in control flow (@if, @for, @switch)
labels
Nov 27, 2023
@mattlewis92 Thanks for this report! I've been able to replicate it with your example. I'll hopefully have a fix up soon. |
jessicajaniuk
pushed a commit
to jessicajaniuk/angular
that referenced
this issue
Nov 27, 2023
jessicajaniuk
pushed a commit
to jessicajaniuk/angular
that referenced
this issue
Nov 27, 2023
This addresses an issue where multiple ng-templates are present with i18n attributes. The offsets would be incorrectly accounted for when being replaced with an ng-container. fixes: angular#53149
jessicajaniuk
pushed a commit
to jessicajaniuk/angular
that referenced
this issue
Nov 27, 2023
This addresses an issue where multiple ng-templates are present with i18n attributes. The offsets would be incorrectly accounted for when being replaced with an ng-container. fixes: angular#53149
6 tasks
jessicajaniuk
pushed a commit
to jessicajaniuk/angular
that referenced
this issue
Nov 28, 2023
This addresses an issue where multiple ng-templates are present with i18n attributes. The offsets would be incorrectly accounted for when being replaced with an ng-container. fixes: angular#53149
pkozlowski-opensource
pushed a commit
that referenced
this issue
Nov 28, 2023
Tweniee
pushed a commit
to Tweniee/angular
that referenced
this issue
Nov 29, 2023
…#53212) This addresses an issue where multiple ng-templates are present with i18n attributes. The offsets would be incorrectly accounted for when being replaced with an ng-container. fixes: angular#53149 PR Close angular#53212
tbondwilkinson
pushed a commit
to tbondwilkinson/angular
that referenced
this issue
Dec 6, 2023
…#53212) This addresses an issue where multiple ng-templates are present with i18n attributes. The offsets would be incorrectly accounted for when being replaced with an ng-container. fixes: angular#53149 PR Close angular#53212
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
ChellappanRajan
pushed a commit
to ChellappanRajan/angular
that referenced
this issue
Jan 23, 2024
…#53212) This addresses an issue where multiple ng-templates are present with i18n attributes. The offsets would be incorrectly accounted for when being replaced with an ng-container. fixes: angular#53149 PR Close angular#53212
rlmestre
pushed a commit
to rlmestre/angular
that referenced
this issue
Jan 26, 2024
…#53212) This addresses an issue where multiple ng-templates are present with i18n attributes. The offsets would be incorrectly accounted for when being replaced with an ng-container. fixes: angular#53149 PR Close angular#53212
amilamen
pushed a commit
to amilamen/angular
that referenced
this issue
Jan 26, 2024
…#53212) This addresses an issue where multiple ng-templates are present with i18n attributes. The offsets would be incorrectly accounted for when being replaced with an ng-container. fixes: angular#53149 PR Close angular#53212
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
area: migrations
Issues related to `ng update` migrations
core: control flow
Issues related to the built-in control flow (@if, @for, @switch)
Which @angular/* package(s) are the source of the bug?
core
Is this a regression?
No
Description
Using the
@angular/core:control-flow-migration
schematic produces invalid code when using multiplengIf
's in the same template combined with thei18n
attribute.Input:
Output:
Please provide a link to a minimal reproduction of the bug
See above for a minimal test case
Please provide the exception or error you saw
Please provide the environment you discovered this bug in (run
ng version
)The text was updated successfully, but these errors were encountered: