On 07.11.2012 10:29, Branko Čibej wrote:
> Another question that popped up was how to maintain eternal historical
> uniqueness of ticket IDs when a tag for a previously deleted product
> gets reused. One option is to never allow reusing historically used tags
> in new products, but that seems a bit too restrictive. We came up with this:
>
> * along with the tag+number history for each ticket, remember the
> maximum ticket number per tag
> * when a tag gets reused, issue new ticket numbers from that
> remembered value, not from 1
> * this includes renumbering tickets that already have an ID with the
> reused tag, because it's never clear that the resurrected tag is
> used for the same product as before.
> o this might imply remembering the product name associated with a
> range of ticket numbers within a tag
A nice property of the above is that, on the web UI side, you can just
issue permanent redirects from old ticket URLs to whatever the current
ticket URL is.
-- Brane
|