View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003339 | Composr | core | public | 2017-09-28 02:24 | 2017-10-16 12:56 |
Reporter | Chris Graham | Assigned To | |||
Severity | Feature-request | ||||
Status | non-assigned | Resolution | open | ||
Product Version | |||||
Fixed in Version | |||||
Summary | 0003339: Support automatic correct linking for renamed modules | ||||
Description | Let's imagine site:news is renamed to article:news. Right now in the code build_url(array('page' => 'news'), get_module_zone('news')) would end up linking to article:news, because it sees the redirect. However, let's imagine site:news is renamed to article:news. Right now in the code build_url(array('page' => 'news'), get_module_zone('news')) would end up linking to site:news. This is because get_module_zone knows the redirect is to a different page name so bails on going to the redirection zone, preferring the canonical zone. That's a good thing because it would be wrong for get_module_zone to assume we are dynamically setting the correct redirected page name (we're not). However ideally what would then happen is build_url itself would itself then detect site:news is now article:news and build out the link correctly. | ||||
Tags | No tags attached. | ||||
Time estimation (hours) | 1.5 | ||||
Sponsorship open | |||||
|
Also tut_subcom will need editing to reflect that this now works. |
|
Also there is a complexity when running blocks via AJAX, as get_page_name() cannot be relied on to know where the block originally was located. |
Date Modified | Username | Field | Change |
---|---|---|---|
2017-09-28 02:24 | Chris Graham | New Issue | |
2017-09-28 02:26 | Chris Graham | Description Updated | View Revisions |
2017-09-28 13:24 | Chris Graham | Note Added: 0005199 | |
2017-10-16 12:56 | Chris Graham | Note Added: 0005205 |