Fixes T10549.
Details
Details
- Reviewers
epriestley avivey - Group Reviewers
Blessed Reviewers - Maniphest Tasks
- T10549: Getting PhutilTypeCheckException on certaion Differential pages
- Commits
- Restricted Diffusion Commit
rP60b42750b641: Cast old duration values for unit tests to float in DifferentialController
N/A
Diff Detail
Diff Detail
- Repository
- rP Phabricator
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
This should probably test that duration actually exists. Also not sure why it cropped up now, but whatever. I'll tweak it in the pull.
Comment Actions
I am also making a vaguely related fix I caught elsewhere because I am a loose cannon with no respect for the rules.
+ if (!$diff->getBuildable()) { + return null; + }
src/applications/differential/controller/DifferentialController.php | ||
---|---|---|
195 | I swear I thought about this but then since it didn't break on our system, I thought it wasn't necessary. Anyways, thanks! |