Page MenuHomePhabricator

Fix handling of Phriction conduit edits
ClosedPublic

Authored by amckinley on Dec 10 2018, 8:53 PM.
Tags
None
Referenced Files
F19891362: D19862.id47427.diff
Fri, Mar 27, 5:14 AM
F19891013: D19862.id47427.diff
Thu, Mar 26, 10:49 PM
F19276809: D19862.id47425.diff
Dec 23 2025, 1:21 AM
F19090368: D19862.diff
Dec 3 2025, 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
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
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.