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)
Wed, Dec 18, 7:58 AM
Unknown Object (File)
Mon, Dec 16, 8:56 AM
Unknown Object (File)
Mon, Dec 16, 8:56 AM
Unknown Object (File)
Mon, Dec 16, 8:55 AM
Unknown Object (File)
Mon, Dec 16, 4:47 AM
Unknown Object (File)
Mon, Dec 16, 4:47 AM
Unknown Object (File)
Fri, Dec 6, 12:45 PM
Unknown Object (File)
Wed, Nov 27, 7:28 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 21279
Build 28950: Run Core Tests
Build 28949: 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.