Say you have a case, it currently lives at a URL like http://www.somewhere.com/node/609.

But since, we've introduced the concept of case numbers, that case may actually be case #100-98. We have valid reasons for having a case number (separate of the node number in Drupal), as detailed at http://drupal.org/node/51118.

Due to those two numbers (609 in the URL, and 100-98 in the case), there's a bit of confusion/incosistency and users will sometimes refer to a case like that by "609" rather than "100-98".

My proposed solution is that we rewrite the URLs for a case so it's http://www.somewhere.com/case/100-98. Similarly a project URL can be http://www.somewhere.com/project/100.

Thoughts welcome.

Comments

moshe weitzman’s picture

sounds reasonable. is easy to do without creating a path alias for each case. see http://drupal.org/node/23708

halkeye’s picture

Couldn't you use the menu handler? using the fallback system?

so define case/ and then case/1 would fall back to case/?

The custom url rewrite is a clean solution as it fixes outgoing urls too, but it would easily conflict with any other module that decided to use it. doesn't look like any current module uses it, but it could right..

morbus iff’s picture

In keeping with (my) Case Tracker philosophy, I'd like to see this done as integration with pathauto: http://cvs.drupal.org/viewcvs/drupal/contributions/modules/pathauto/API.....

jmiccolis’s picture

Status: Active » Closed (won't fix)

Case and project numbers are in the process of being eliminated in the Drupal 6 version. Setting to won't fix.