Skip to content

fix(core): ensure initial value of QueryList length #21982

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

Conversation

emilio-martinez
Copy link
Contributor

@emilio-martinez emilio-martinez commented Feb 2, 2018

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

[X] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] angular.io application / infrastructure changes
[ ] Other... Please describe:

What is the current behavior?

Issue Number: #21980

What is the new behavior?

Length has been initialized to 0, which would have been the initial value returned by get length() before it was refactored in e544742#diff-a85dbe0991a7577ea24b49374e9ae90b.

Closes #21980.

Does this PR introduce a breaking change?

[ ] Yes
[X] No

Other information

@emilio-martinez emilio-martinez force-pushed the fix/query-list-length-regression branch from d75bf11 to 1edaafe Compare February 2, 2018 06:53
@emilio-martinez emilio-martinez changed the title fix(core): ensure initial value of QueryList length (#21980) fix(core): ensure initial value of QueryList length Feb 2, 2018
@mhevery mhevery self-assigned this Feb 6, 2018
Copy link
Contributor

@mhevery mhevery left a comment

Choose a reason for hiding this comment

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

Can you add:

Closes #21980

to the commit message

@mhevery mhevery added target: patch This PR is targeted for the next patch release action: merge The PR is ready for merge by the caretaker labels Feb 6, 2018
Set initial value of `length` to `0`.

Fixes regression introduced by angular@e544742#diff-a85dbe0991a7577ea24b49374e9ae90b where the `length` property ceased to have initial value.

Closes angular#21980
@emilio-martinez emilio-martinez force-pushed the fix/query-list-length-regression branch from 1edaafe to c085db8 Compare February 7, 2018 06:11
@emilio-martinez
Copy link
Contributor Author

Done

@mhevery mhevery closed this in e56de10 Feb 7, 2018
mhevery pushed a commit that referenced this pull request Feb 7, 2018
Set initial value of `length` to `0`.

Fixes regression introduced by e544742#diff-a85dbe0991a7577ea24b49374e9ae90b where the `length` property ceased to have initial value.

Closes #21980

PR Close #21982
jbogarthyde pushed a commit to jbogarthyde/angular that referenced this pull request Feb 23, 2018
…ngular#21982)

Set initial value of `length` to `0`.

Fixes regression introduced by angular@e544742#diff-a85dbe0991a7577ea24b49374e9ae90b where the `length` property ceased to have initial value.

Closes angular#21980

PR Close angular#21982
leo6104 pushed a commit to leo6104/angular that referenced this pull request Mar 25, 2018
…ngular#21982)

Set initial value of `length` to `0`.

Fixes regression introduced by angular@e544742#diff-a85dbe0991a7577ea24b49374e9ae90b where the `length` property ceased to have initial value.

Closes angular#21980

PR Close angular#21982
@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 13, 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 target: patch This PR is targeted for the next patch release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

QueryList initialized properties regression
3 participants