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
F14800892: D21522.id51229.diff
Sat, Jan 25, 8:52 AM
F14800891: D21522.id51228.diff
Sat, Jan 25, 8:52 AM
F14800889: D21522.id.diff
Sat, Jan 25, 8:52 AM
Unknown Object (File)
Tue, Jan 21, 10:34 AM
Unknown Object (File)
Thu, Jan 16, 3:13 PM
Unknown Object (File)
Wed, Jan 1, 10:17 PM
Unknown Object (File)
Dec 24 2024, 5:11 PM
Unknown Object (File)
Dec 17 2024, 8:58 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
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.