#5764 - Incorrect page being passed to change_detection.php when using redirects
| Identifier | #5764 |
|---|---|
| Issue type | Minor issue (breaks specific functionality) |
| Title | Incorrect page being passed to change_detection.php when using redirects |
| Status | Completed |
| Tags |
Roadmap: v11 (custom) |
| Handling member | PDStig |
| Version | 11 beta3 |
| Addon | actionlog |
| Description | When using a module redirect to another module, the wrong module is passed as the page to change_detection.php. For example, if I have the feedback module redirect to support tickets, it triggers change detection (because support tickets) but the page parameter is "feedback", which triggers an error because no hook exists for that. |
| Steps to reproduce | |
| Additional information | For now, I added a commit which softly returns 0 / no changes if the hook does not exist. |
| Funded? | No |
| Commits |
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".


Comments
When using a module redirect to another module, the wrong module is passed as the page to change_detection.php.
This hotfix ensures internalise_own_screen considers page redirects when passing in page and zone parameters to change_detection.php .
Note this will NOT work for URL redirects; only page redirects.