Skip to content

fix(core): ViewContainerRef.indexOf doesn't throw error when empty#13220

Closed
DzmitryShylovich wants to merge 1 commit into
angular:masterfrom
DzmitryShylovich:gh/13207
Closed

fix(core): ViewContainerRef.indexOf doesn't throw error when empty#13220
DzmitryShylovich wants to merge 1 commit into
angular:masterfrom
DzmitryShylovich:gh/13207

Conversation

@DzmitryShylovich

Copy link
Copy Markdown
Contributor

Fixes #13207

@vicb vicb added area: core Issues related to the framework runtime action: review The PR is still awaiting reviews from at least one requested reviewer labels Dec 9, 2016
@mhevery mhevery added the action: merge The PR is ready for merge by the caretaker label Jan 28, 2017
@mhevery mhevery closed this in a277e97 Jan 29, 2017
@IgorMinar

Copy link
Copy Markdown
Contributor

@DzmitryShylovich can you please send a new PR that adds a test for this case? thanks!

also, the commit message is should be more clear and explain the desired state. example: fix(core): ViewContainerRef.indexOf should not throw error when empty

@DzmitryShylovich

Copy link
Copy Markdown
Contributor Author

@IgorMinar I didn't find a spec file for ViewContainerRef.

also, the commit message is should be more clear and explain the desired state. example: fix(core): ViewContainerRef.indexOf should not throw error when empty

ok

@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 Sep 10, 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 action: review The PR is still awaiting reviews from at least one requested reviewer area: core Issues related to the framework runtime cla: yes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ViewContainerRef throws an error when it doesn't have views and indexOf is called

5 participants