Page MenuHomePhabricator

Allow "differential.createinline" to accept JSON "false" for "isNewFile"
ClosedPublic

Authored by epriestley on Jan 26 2021, 10:48 PM.
Tags
None
Referenced Files
F19053579: D21522.id51229.diff
Nov 28 2025, 9:35 AM
F18976144: D21522.diff
Nov 16 2025, 12:25 PM
F18804004: D21522.id.diff
Oct 18 2025, 5:23 AM
F18797464: D21522.diff
Oct 17 2025, 5:04 AM
F18792472: D21522.id.diff
Oct 16 2025, 7:43 PM
F18645738: D21522.diff
Sep 19 2025, 8:28 AM
F18644100: D21522.id51228.diff
Sep 19 2025, 4:19 AM
F18598460: D21522.id.diff
Sep 13 2025, 5:06 AM
Subscribers
None

Details

Summary

See https://discourse.phabricator-community.org/t/error-creating-inline-comment-via-conduit-api/4535. See T12678.

This API method currently does not accept a JSON "false", but reasonably should.

Test Plan
  • Called method with "isNewFile: false".
    • Before: type error.
    • After: inline comment.

Diff Detail

Repository
rP Phabricator
Branch
inline1
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 25041
Build 34550: Run Core Tests
Build 34549: arc lint + arc unit

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Jan 26 2021, 10:56 PM
This revision was automatically updated to reflect the committed changes.