Page MenuHomePhabricator

Fix board links in TaskDetail
ClosedPublic

Authored by chad on Jun 13 2014, 8:18 PM.
Tags
None
Referenced Files
F18821900: D9520.id22820.diff
Thu, Oct 23, 2:38 AM
F18821401: D9520.id22818.diff
Wed, Oct 22, 10:49 PM
F18775541: D9520.id22820.diff
Fri, Oct 10, 7:25 PM
F18673884: D9520.id22818.diff
Thu, Sep 25, 12:26 PM
F18653042: D9520.diff
Sep 21 2025, 10:46 AM
F18438987: D9520.id22818.diff
Aug 31 2025, 2:09 PM
F18427057: D9520.id22818.diff
Aug 30 2025, 11:38 PM
F18403295: D9520.id22820.diff
Aug 29 2025, 8:56 PM
Subscribers

Details

Summary

Not sure if this is the correct fix, but I think it's where you intend to go?

Test Plan

Click on link in Task, get the the correct board. Click lots of links of boards and make sure everything still works.

Diff Detail

Repository
rP Phabricator
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

chad retitled this revision from to Fix board links in TaskDetail.
chad updated this object.
chad edited the test plan for this revision. (Show Details)
chad added a reviewer: epriestley.

This prevents a project from being called #board.

Instead, I think it's sufficient to replace tag/ with project/board/?

src/applications/maniphest/controller/ManiphestTaskDetailController.php
567–568

That is, just change this line?

Wouldn't I still need a route to translate the slug? I'm not good with routes.

Sorry, yeah, realized I am crazy. How about this?

src/applications/maniphest/controller/ManiphestTaskDetailController.php
567–568

Then this should just be $handle->getURI().'board/'?

src/applications/project/application/PhabricatorApplicationProject.php
82

Make this /slug/board/ instead of /board/slug/.

chad edited edge metadata.
  • Update per comments
epriestley edited edge metadata.
This revision is now accepted and ready to land.Jun 13 2014, 9:01 PM
chad updated this revision to Diff 22821.

Closed by commit rPfefe5ae27c94 (authored by @chad).