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(ivy): don't throw in i18nAttributes when a component is re-rendered #27911

Closed
wants to merge 1 commit into from

Conversation

ocombe
Copy link
Contributor

@ocombe ocombe commented Jan 3, 2019

i18nAttributes was throwing an error when it was called multiple times in the create part of the template function with the same index, for example when we create multiple components with the same template. It shouldn't throw in this case, and just use the cache when available.

FW-903 #resolve

…ered

`i18nAttributes` was throwing an error when it was called multiple times in the create part of the template function with the same index, for example when we create multiple components with the same template. It shouldn't throw in this case, and just use the cache when available.

FW-903 #resolve
@ocombe ocombe added action: review The PR is still awaiting reviews from at least one requested reviewer target: major This PR is targeted for the next major release comp: ivy labels Jan 3, 2019
@ngbot ngbot bot added this to the needsTriage milestone Jan 3, 2019
@ngbot ngbot bot modified the milestones: needsTriage, Backlog Jan 3, 2019
@angular angular deleted a comment from googlebot Jan 3, 2019
@mary-poppins
Copy link

You can preview 5f13d47 at https://pr27911-5f13d47.ngbuilds.io/.

Copy link
Contributor

@AndrewKushnir AndrewKushnir left a comment

Choose a reason for hiding this comment

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

LGTM!

@AndrewKushnir
Copy link
Contributor

AndrewKushnir commented Jan 3, 2019

Presubmit (passed)

@AndrewKushnir AndrewKushnir removed the action: review The PR is still awaiting reviews from at least one requested reviewer label Jan 3, 2019
@AndrewKushnir
Copy link
Contributor

@ocombe since the i18n integration tests via TestBed are now in master, could you plz update the i18n_integration_spec.ts and remove fixmeIvy for FW-903? Thank you.

@AndrewKushnir
Copy link
Contributor

@kara could you plz have a quick look at this PR too and approve if everything looks good to you (so we can merge it)? Thank you.

@AndrewKushnir AndrewKushnir added the action: review The PR is still awaiting reviews from at least one requested reviewer label Jan 8, 2019
Copy link
Contributor

@kara kara left a comment

Choose a reason for hiding this comment

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

LGTM

@kara kara removed the action: review The PR is still awaiting reviews from at least one requested reviewer label Jan 8, 2019
@kara kara added the action: merge The PR is ready for merge by the caretaker label Jan 8, 2019
@kara kara closed this in e6ab55d Jan 8, 2019
@ocombe ocombe deleted the fix/ivy/fw-903-i18nAttributes branch January 8, 2019 13:36
devversion pushed a commit to devversion/angular that referenced this pull request Jan 9, 2019
…ered (angular#27911)

`i18nAttributes` was throwing an error when it was called multiple times in the create part of the template function with the same index, for example when we create multiple components with the same template. It shouldn't throw in this case, and just use the cache when available.

FW-903 #resolve
PR Close angular#27911
ngfelixl pushed a commit to ngfelixl/angular that referenced this pull request Jan 28, 2019
…ered (angular#27911)

`i18nAttributes` was throwing an error when it was called multiple times in the create part of the template function with the same index, for example when we create multiple components with the same template. It shouldn't throw in this case, and just use the cache when available.

FW-903 #resolve
PR Close angular#27911
@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 Sep 14, 2019
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 cla: yes effort1: hours risk: low target: major This PR is targeted for the next major release type: bug/fix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants