Sitelet https://github.com/angular/angular/pull/38756
Skip to content

fix(http): Fix error message when we call jsonp without importing HttpClientJsonpModule - #38756

Closed
wKoza wants to merge 1 commit into
angular:masterfrom
wKoza:fix_error_msg_import_JsonpClientModule
Closed

wKoza wants to merge 1 commit into
angular:masterfrom
wKoza:fix_error_msg_import_JsonpClientModule

Conversation

@wKoza

@wKoza wKoza commented Sep 9, 2020

Copy link
Copy Markdown
Contributor

…pModule

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?

Currently, when we call jsonp method without importing HttpClientJsonpModule, an error message appears saying 'Attempted to construct Jsonp request without JsonpClientModule installed.'

What is the new behavior?

Now, the error message is 'Attempted to construct Jsonp request without HttpClientJsonpModule installed.' .

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

@wKoza
wKoza force-pushed the fix_error_msg_import_JsonpClientModule branch 2 times, most recently from bca810d to de1c390 Compare September 9, 2020 12:21
@wKoza wKoza changed the title Fix error message when we call jsonp without importing HttpClientJson… fix(http): Fix error message when we call jsonp without importing HttpClientJsonpModule Sep 9, 2020
…pClientJsonpModule

Currently, when we call jsonp method without importing HttpClientJsonpModule, an error message appears saying
'Attempted to construct Jsonp request without JsonpClientModule installed.' instance of 'Attempted to
construct Jsonp request without HttpClientJsonpModule installed.'
@wKoza
wKoza force-pushed the fix_error_msg_import_JsonpClientModule branch from de1c390 to 334fba5 Compare September 9, 2020 12:47
@AndrewKushnir AndrewKushnir added action: review The PR is still awaiting reviews from at least one requested reviewer area: common/http Issues related to HTTP and HTTP Client target: patch This PR is targeted for the next patch release labels Sep 9, 2020
@ngbot ngbot Bot modified the milestone: needsTriage Sep 9, 2020

@AndrewKushnir AndrewKushnir left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM, thanks for the fix @wKoza 👍

@IgorMinar IgorMinar added the action: presubmit The PR is in need of a google3 presubmit label Sep 17, 2020
@AndrewKushnir

Copy link
Copy Markdown
Contributor

Presubmit.

@AndrewKushnir AndrewKushnir added action: merge The PR is ready for merge by the caretaker and removed action: presubmit The PR is in need of a google3 presubmit action: review The PR is still awaiting reviews from at least one requested reviewer labels Sep 18, 2020
@mhevery mhevery closed this in 88d7bb8 Sep 18, 2020
mhevery pushed a commit that referenced this pull request Sep 18, 2020
…pClientJsonpModule (#38756)

Currently, when we call jsonp method without importing HttpClientJsonpModule, an error message appears saying
'Attempted to construct Jsonp request without JsonpClientModule installed.' instance of 'Attempted to
construct Jsonp request without HttpClientJsonpModule installed.'

PR Close #38756
@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 Oct 25, 2020
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: common/http Issues related to HTTP and HTTP Client 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.

4 participants