Feature #12
Posfix ContentID with a number when existing
| Status: | New | Start: | Feb 04, 2010 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assigned to: | % Done: | 0% |
||
| Category: | Core | Spent time: | - | |
| Target version: | v0.3-rc |
Description
When saving a content without a contentid, the generated contentid is invalid if there is already another content with the same contentid.
In this case, a number must be appended to the contentid, to make it unique.
For example, is the automatic contentid is hello-world, then the contentid for new contents with that same contentid, would be:
- hello-world
- hello-world-1
- hello-world-2
- ...