Feature #169

[PATCH] for articles posted on one day with same title

Added by anonymous - 942 days ago. Updated 85 days ago.

Status :Assigned Start :
Priority :Normal Due date :
Assigned to :neuro - % Done :

0%

Category :backend
Target version :5.1.4
Resolution :


Description

If you post articles on one day with the same (upp/lowercase doesn't matter) title then only the newest of these articles is accessible. All articles are shown in the lists but the permalink links only to the newest.
The patch appends a short random number to permalink if the permalink is already used.

Associated revisions

Revision 59ad742bec7b057a7cccef169c40f06dd9be1b79
Added by tobi 1231 days ago

ARGH (fucking closes #169)

git-svn-id: http://svn.typosphere.org/typo/trunk@350 820eb932-12ee-0310-9ca8-eeb645f39767

History

05/05/2006 11:49 PM - sprewell -

Instead of appending a random number and writing a primitive hashing function for it, why not just add a count to the title and increment it? It would make more sense for the URL, though it may be slightly more work. So instead of typo-post, typo-post_5351, and typo-post_3425, you would get typo-post, typo-post_1, and typo-post_2. btw, the maintainers will almost certainly not add this patch to trunk as it will probably be considered too remote a problem to worry about.

05/06/2006 09:22 AM - pdcawley -

I'm surprised we don't have a date scoped uniqueness constraint on permalinks already. But, on reflection, that might not be all that easy to implement...

07/22/2008 01:53 AM - neuro -

  • Status changed from New to Assigned
  • Priority changed from Urgent to High
  • Target version changed from Maybe Someday to 5.2

09/07/2008 10:32 AM - neuro -

  • Category changed from installer to backend
  • Priority changed from High to Normal
  • Target version changed from 5.2 to 5.1.4

Also available in: Atom PDF