-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
#653 Adding null check for downstreamResponse #1334
#653 Adding null check for downstreamResponse #1334
Conversation
@ben-bartholomew Hi Ben! @TomPallister Hey Tom! |
Done, thanks. |
@ben-bartholomew Have you tried to Sync fork? Is the button enabled? |
I used the sync fork button actually, and that seemed to auto-merge the PR as well. I'm no GitHub expert but what's the goal is of getting Everything seems good to go here to me, not sure what is missing. Current state: |
@ben-bartholomew commented on Jul 17, 2023:
To be able to create feature branch from updated default branch which is develop in head repo. I see, Sync fork button works for current default branch, probably. Update 1Another user has reported to me a successful syn operation for all branches just today: I have an idea!
Could you create develop branch from your updated master, and after that make develop branch as default one in repo settings. |
I understand now. I assumed this was about changes necessary to get this PR merged since the discussion is happening in the PR thread, and not about getting my fork into some other desired state for potential future PRs.
Easiest way to accomplish this IMO:
Worked for me. Then downstream repos can set |
@ben-bartholomew commented on July 17, 2023:
Now I see develop branch in your fork, and it is default. Perfect! |
@yilezhu As a bug reporter, Could you review the code and verify this bug fix please? |
Fixes #653
Null reference when pipeline terminates early
Proposed Changes
downstreamResponse
to avoid getting a null ref exception by passing it toSetResponseOnHttpContext
SetResponseOnHttpContext
does not get called in that case