Use initializeNewLog rather than instantiate the UserLog,
Closes T4912
Details
- Reviewers
btrahan - Group Reviewers
Blessed Reviewers - Maniphest Tasks
- T4912: Get certificate call returns exception following update
- Commits
- Restricted Diffusion Commit
rP08d9e5ec99ae: Use initializeNewLog rather than instantiate the UserLog
Run install-certificate
Diff Detail
- Lint
Lint Skipped - Unit
Tests Skipped - Build Status
Buildable 104 Build 104: [Placeholder Plan] Wait for 30 Seconds
Event Timeline
LMK if making a diff is a pain and I can make one you can accept.
src/applications/conduit/method/ConduitAPI_conduit_getcertificate_Method.php | ||
---|---|---|
62–66 | This is technically different from what's on the left - $request->getUser() and the user from $info->getUserPHID() can be different people - but I think its more correct as $request->getUser() is actually the actor. | |
82 | can you pass in the ConduitAPI $request here so you can do the $request->getUser() bit again? | |
86 | change to $info ? $info->getUserPHID() : '-' |
Will make other changes.
Made diff with git diff, not too bad :)
src/applications/conduit/method/ConduitAPI_conduit_getcertificate_Method.php | ||
---|---|---|
62–66 | I thought the same Should have mentioned it in the commit. Probably the same person! |
src/applications/conduit/method/ConduitAPI_conduit_getcertificate_Method.php | ||
---|---|---|
59 | sorry, forgot to mention you have to update this to pass in $request and $info |
Tested it properly
src/applications/conduit/method/ConduitAPI_conduit_getcertificate_Method.php | ||
---|---|---|
59 | Ha, sorry. Being slow! |
no problemo. I think I messed up authorship info / I have a task to make that work better. I appreciate the commit! :D