Page MenuHomePhabricator

Fix handling of Phriction conduit edits
ClosedPublic

Authored by amckinley on Dec 10 2018, 8:53 PM.
Tags
None
Referenced Files
F19090368: D19862.diff
Wed, Dec 3, 11:25 AM
F18855096: D19862.diff
Nov 1 2025, 3:15 AM
F18790871: D19862.id47426.diff
Oct 15 2025, 8:18 PM
F18766272: D19862.id47425.diff
Oct 7 2025, 3:51 PM
F18693486: D19862.diff
Sep 27 2025, 1:24 AM
F18672624: D19862.id.diff
Sep 25 2025, 7:56 AM
F18672610: D19862.id47426.diff
Sep 25 2025, 7:54 AM
F18672604: D19862.id47427.diff
Sep 25 2025, 7:54 AM
Subscribers

Details

Summary

See https://discourse.phabricator-community.org/t/conduit-method-phriction-edit-requires-title-while-the-docs-say-its-optional/2176. Make code consistent with documentation by not requiring either content or title.

Test Plan

Hit the method via the UI and no longer got an error on missing content or title fields.

Diff Detail

Repository
rP Phabricator
Branch
master
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 21278
Build 28948: Run Core Tests
Build 28947: arc lint + arc unit

Event Timeline

These should probably be strlen(...) tests -- as written, setting the title or content to 0 likely does not work.

This revision is now accepted and ready to land.Dec 10 2018, 9:00 PM
This revision was automatically updated to reflect the committed changes.