Pylons/Kotti — Issue #31: node.name generation for long titles
Author: chrneumann
Created: 2012-03-04 17:55:14+00:00
State: open

If the node's title is longer than the column limit (currently 50 compared to 100 for titles) and there is another node with the same parent and same 50 character prefix, you get key collisions.

For a (possible) fix see:
https://github.com/chrneumann/Kotti/commit/8acdfcc81f22073ce9ca1f46dc63becc3319617c

I can't run the tests nor Kotti at this moment (some problem with the installation after the last pylons/kotti pull), sorry. I'm to tired for to get it running ;)

There is one problem though: I set the name length to 110, i.e. there are 10 characters left for the "disambiguation suffix". This should be enough IMHO, but who knows...