Skip to content

T 1164100: Add check for nil request URL#166

Merged
ruchiupgade-mb merged 3 commits intomainfrom
task/116400-fix-for-fma-loader-issue
Oct 22, 2022
Merged

T 1164100: Add check for nil request URL#166
ruchiupgade-mb merged 3 commits intomainfrom
task/116400-fix-for-fma-loader-issue

Conversation

@ruchiupgade-mb
Copy link
Copy Markdown
Contributor

@ruchiupgade-mb ruchiupgade-mb commented Oct 19, 2022

This pull request includes (pick all that apply):

  • Bugfixes
  • New features
  • Breaking changes
  • Documentation updates
  • Unit tests
  • Other

Summary

In URLSessionClient if the modifiedRequest URL is nil, the data task was not getting initialized. Because of this The callback is not fired.

In this fix we have added a check for nil URL. If the request URL is nil we are initiating a callback with missingURL error.

Implementation

Test Plan

@ruchiupgade-mb ruchiupgade-mb marked this pull request as ready for review October 20, 2022 06:04
Copy link
Copy Markdown
Contributor

@plflanagan plflanagan left a comment

Choose a reason for hiding this comment

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

Just one quick change request. Let me know when made and I can quickly re-review.

@ruchiupgade-mb ruchiupgade-mb merged commit 5fa6640 into main Oct 22, 2022
@ruchiupgade-mb ruchiupgade-mb deleted the task/116400-fix-for-fma-loader-issue branch October 22, 2022 04:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants