Page MenuHomePhabricator

Fix board links in TaskDetail
ClosedPublic

Authored by chad on Jun 13 2014, 8:18 PM.
Tags
None
Referenced Files
F14034187: D9520.diff
Sat, Nov 9, 10:36 PM
F13996737: D9520.id22820.diff
Wed, Oct 23, 11:33 PM
F13992945: D9520.diff
Tue, Oct 22, 7:45 PM
F13983503: D9520.id.diff
Sun, Oct 20, 6:53 AM
Unknown Object (File)
Oct 1 2024, 10:31 PM
Unknown Object (File)
Oct 1 2024, 2:55 AM
Unknown Object (File)
Sep 23 2024, 7:33 PM
Unknown Object (File)
Sep 20 2024, 10:47 AM
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).