View Issue Details

IDProjectCategoryView StatusLast Update
0003580Composrcorepublic2018-04-07 19:33
ReporterChris GrahamAssigned ToChris Graham 
SeverityFeature-request 
Status resolvedResolutionfixed 
Product Version 
Fixed in Version 
Summary0003580: Reuse URL monikers of deleted content
DescriptionWe should allow automatic re-use of URL monikers of since-deleted-content when adding new content that would want the same moniker, for the following reasons:

1) Users will delete then re-add content and expect to be able to use the same moniker for UX reasons

2) Users may have already created URLs to that content, e.g. on the menu, hard-coding the moniker - and expect the URL to still function

3) New content may have the same ID as deleted content (due to how MySQL auto-increment works), so monikers for totally irrelevant content will become aliases for new content

TagsNo tags attached.
Time estimation (hours)1
Sponsorship open0

Activities

Chris Graham

2018-04-07 19:31

administrator  

execute_temp.php (9,687 bytes)

Chris Graham

2018-04-07 19:33

administrator   ~0005659

Attached is data_custom/execute_temp.php, which can fix up cases of:

1) non-deprecated monikers pointing to deleted data (these should be marked deprecated, so Composr can recycle them for future use if desired).
2) conflicting references under the same moniker (chooses the most recent to keep).

Call by URL to review issues:
/data_custom/execute_temp.php

And to fix issues:
/data_custom/execute_temp.php?make_changes=1

Issue History

Date Modified Username Field Change
2018-04-07 03:25 Chris Graham New Issue
2018-04-07 03:46 Chris Graham Status non-assigned => resolved
2018-04-07 03:46 Chris Graham Resolution open => fixed
2018-04-07 03:46 Chris Graham Assigned To => Chris Graham
2018-04-07 19:31 Chris Graham File Added: execute_temp.php
2018-04-07 19:33 Chris Graham Note Added: 0005659