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
F15423868: D21522.id51229.diff
Sat, Mar 22, 7:03 PM
F15423866: D21522.id51228.diff
Sat, Mar 22, 7:03 PM
F15423860: D21522.id.diff
Sat, Mar 22, 7:01 PM
F15415782: D21522.id51229.diff
Thu, Mar 20, 7:51 AM
F15385936: D21522.id51229.diff
Fri, Mar 14, 11:42 PM
F15337532: D21522.diff
Sun, Mar 9, 6:15 AM
Unknown Object (File)
Fri, Feb 28, 1:57 PM
Unknown Object (File)
Thu, Feb 27, 1:15 PM
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
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.