-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Handles the status code for .
properties
#4246
Handles the status code for .
properties
#4246
Conversation
Gradle Check (Jenkins) Run Completed with:
|
Gradle Check (Jenkins) Run Completed with:
|
Gradle Check (Jenkins) Run Completed with:
|
Signed-off-by: Owais Kazi <[email protected]>
Signed-off-by: Owais Kazi <[email protected]>
c955653
to
e0eed55
Compare
Gradle Check (Jenkins) Run Completed with:
|
Gradle Check (Jenkins) Run Completed with:
|
Gradle Check (Jenkins) Run Completed with:
|
server/src/main/java/org/opensearch/index/mapper/ObjectMapper.java
Outdated
Show resolved
Hide resolved
server/src/test/java/org/opensearch/index/mapper/ObjectMapperTests.java
Outdated
Show resolved
Hide resolved
server/src/test/java/org/opensearch/index/mapper/ObjectMapperTests.java
Outdated
Show resolved
Hide resolved
server/src/test/java/org/opensearch/index/mapper/ObjectMapperTests.java
Outdated
Show resolved
Hide resolved
.
properties
The failure is due to @owaiskazi19 use double quote Changed to |
Sounds scary that a PR code expose internals of jenkins. :/ |
Thanks @peterzhuamazon . Shouldn't we handle such case before json parsing? |
Gradle Check (Jenkins) Run Completed with:
|
Signed-off-by: Owais Kazi <[email protected]>
Gradle Check (Jenkins) Run Completed with:
|
Codecov Report
@@ Coverage Diff @@
## main #4246 +/- ##
============================================
- Coverage 70.65% 70.53% -0.13%
+ Complexity 57075 57054 -21
============================================
Files 4606 4606
Lines 274706 274739 +33
Branches 40228 40232 +4
============================================
- Hits 194103 193787 -316
- Misses 64280 64604 +324
- Partials 16323 16348 +25
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
Gradle Check (Jenkins) Run Completed with:
|
Gradle Check (Jenkins) Run Completed with:
|
* Return 400 status code for array out of bound Signed-off-by: Owais Kazi <[email protected]> * Spotless apply Signed-off-by: Owais Kazi <[email protected]> * PR comments Signed-off-by: Owais Kazi <[email protected]> Signed-off-by: Owais Kazi <[email protected]> (cherry picked from commit 36f1d77)
* Return 400 status code for array out of bound Signed-off-by: Owais Kazi <[email protected]> * Spotless apply Signed-off-by: Owais Kazi <[email protected]> * PR comments Signed-off-by: Owais Kazi <[email protected]> Signed-off-by: Owais Kazi <[email protected]> (cherry picked from commit 36f1d77)
* Return 400 status code for array out of bound Signed-off-by: Owais Kazi <[email protected]> * Spotless apply Signed-off-by: Owais Kazi <[email protected]> * PR comments Signed-off-by: Owais Kazi <[email protected]> Signed-off-by: Owais Kazi <[email protected]> (cherry picked from commit 36f1d77)
* Return 400 status code for array out of bound Signed-off-by: Owais Kazi <[email protected]> * Spotless apply Signed-off-by: Owais Kazi <[email protected]> * PR comments Signed-off-by: Owais Kazi <[email protected]> Signed-off-by: Owais Kazi <[email protected]> (cherry picked from commit 36f1d77)
We have backported this in many versions because it's a bug fix. But it does change the API. Where are we documenting this breaking change? And is it ok at all? |
* Return 400 status code for array out of bound Signed-off-by: Owais Kazi <[email protected]> * Spotless apply Signed-off-by: Owais Kazi <[email protected]> * PR comments Signed-off-by: Owais Kazi <[email protected]> Signed-off-by: Owais Kazi <[email protected]> (cherry picked from commit 36f1d77) Co-authored-by: Owais Kazi <[email protected]>
This reverts commit fafdd28. Signed-off-by: Owais Kazi <[email protected]>
@dblock On the point of "is it ok" - I think we as a community get to decide :) I tagged this for backport since it turns an implicit restriction ( |
…4276) This reverts commit fafdd28. Signed-off-by: Owais Kazi <[email protected]> Signed-off-by: Owais Kazi <[email protected]>
The backport to
To backport manually, run these commands in your terminal: # Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add ../.worktrees/backport-2.x 2.x
# Navigate to the new working tree
pushd ../.worktrees/backport-2.x
# Create a new branch
git switch --create backport/backport-4246-to-2.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 36f1d77ad7983d9a58bfd755423ce806941fd930
# Push it to GitHub
git push --set-upstream origin backport/backport-4246-to-2.x
# Go back to the original working tree
popd
# Delete the working tree
git worktree remove ../.worktrees/backport-2.x Then, create a pull request where the |
Description
This change returns a 400 status code when a mapping with "." properties is created
Previously
Now:
Issues Resolved
[List any issues this PR will resolve]
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.