Page MenuHomePhabricator

Fix handling of Phriction conduit edits
ClosedPublic

Authored by amckinley on Dec 10 2018, 8:53 PM.
Tags
None
Referenced Files
F15025476: D19862.diff
Sun, Feb 16, 8:37 PM
Unknown Object (File)
Sat, Feb 1, 5:30 PM
Unknown Object (File)
Sun, Jan 26, 7:42 AM
Unknown Object (File)
Tue, Jan 21, 11:12 AM
Unknown Object (File)
Sat, Jan 18, 5:15 PM
Unknown Object (File)
Jan 17 2025, 5:11 PM
Unknown Object (File)
Jan 3 2025, 2:37 AM
Unknown Object (File)
Dec 29 2024, 8:53 PM
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.