Page MenuHomePhabricator

Fix handling of Phriction conduit edits
ClosedPublic

Authored by amckinley on Dec 10 2018, 8:53 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Nov 19, 11:00 AM
Unknown Object (File)
Fri, Nov 15, 3:05 AM
Unknown Object (File)
Mon, Nov 11, 7:40 AM
Unknown Object (File)
Thu, Nov 7, 10:09 PM
Unknown Object (File)
Thu, Nov 7, 3:14 AM
Unknown Object (File)
Mon, Nov 4, 7:43 AM
Unknown Object (File)
Fri, Oct 25, 2:12 AM
Unknown Object (File)
Oct 18 2024, 8:35 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.