Anonymous | Login | Signup for a new account | 2023-12-06 14:53 CST | ![]() |
Main | My View | View Issues | Change Log | Roadmap | Docs | Wiki | Repositories |
Viewing Issue Simple Details [ Jump to Notes ] [ Wiki ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||
ID | Category | Type | Reproducibility | Date Submitted | Last Update | ||
0001386 | [In-Portal CMS] Data Management | bug report | always | 2012-09-03 07:45 | 2012-09-14 10:21 | ||
Reporter | alex | View Status | public | Project Name | In-Portal CMS | ||
Assigned To | alex | Developer | |||||
Priority | normal | Resolution | fixed | Fixed in Version | 5.2.1-B1 | ||
Status | resolved | Product Version | 5.2.0-B1 | Target Version | 5.2.1 | ||
Time Estimate | No estimate | ||||||
Summary | 0001386: Incorrect section/category physical template detection | ||||||
Description |
In-Portal has 2 types of sections/categories in "Structure & Data" section: * physical - sections, that have 1 template on disk (TPL file) connected to them * virtual - sections, that share single template (design template) with other sections (pure CMS pages, that just have different content, but identical layout) Because of that physical sections actually have 2 urls: * one, that matches TPL file location inside a theme * other, that match associated section location inside "Structure & Data" section If developer is required to perform specific actions based on physical template being used to render a page then method kApplication::getPhysicalTemplate can be used. However I've recently found out, that virtual section has a symlink to a physical section this method sometimes failed to properly detect actual TPL file being used. |
||||||
Additional Information | This bug happens on all In-Portal 5.x versions (since symlink term was introduced), but kApplication::getPhysicalTemplate method only exists since 5.2.0-B1 version. | ||||||
Tags | No tags attached. | ||||||
Reference | https://groups.google.com/d/topic/in-portal-bugs/xwFIs71lt38/discussion | ||||||
Change Log Message | Fixes incorrect section physical template detection | ||||||
Estimate Points | 1 | ||||||
Attached Files |
![]() |
||||||
|
![]() |
||||||
|
![]() |
|
![]() alex (manager) 2012-09-03 07:52 |
Will test all together later. |
![]() alex (manager) 2012-09-03 07:53 |
Fix committed to 5.2.x branch. Commit Message: Fixes 0001386: Incorrect section/category physical template detection |
![]() |
|||
In-Portal CMS: 5.2.x r15528 Timestamp: 2012-09-03 07:53:35 Author: alex [ Details ] [ Diff ] |
Fixes 0001386: Incorrect section/category physical template detection | ||
mod - /in-portal/branches/5.2.x/core/kernel/managers/url_manager.php | [ Diff ] [ File ] | ||
![]() |
|||
Date Modified | Username | Field | Change |
2012-09-14 10:21 | alex | File Added: physical_template_detection_fix.patch | |
2012-09-03 07:53 | alex | Changeset attached | 5.2.x r15528 |
2012-09-03 07:53 | alex | Note Added: 0005160 | |
2012-09-03 07:53 | alex | Status | reviewed and tested => resolved |
2012-09-03 07:53 | alex | Fixed in Version | => 5.2.1-B1 |
2012-09-03 07:53 | alex | Resolution | open => fixed |
2012-09-03 07:53 | alex | Assigned To | !COMMUNITY => alex |
2012-09-03 07:52 | alex | Note Added: 0005159 | |
2012-09-03 07:52 | alex | Status | needs testing => reviewed and tested |
2012-09-03 07:52 | alex | Relationship added | child of 0000359 |
2012-09-03 07:46 | alex | Assigned To | => !COMMUNITY |
2012-09-03 07:46 | alex | Developer | => alex |
2012-09-03 07:46 | alex | Status | active => needs testing |
2012-09-03 07:46 | alex | Reference | => https://groups.google.com/d/topic/in-portal-bugs/xwFIs71lt38/discussion |
2012-09-03 07:45 | alex | New Issue | |
2012-09-03 07:45 | alex | Change Log Message | => Fixes incorrect section physical template detection |
2012-09-03 07:45 | alex | Estimate Points | => 1 |
Main | My View | View Issues | Change Log | Roadmap | Docs | Wiki | Repositories |
Web Development by Intechnic![]() In-Portal Open Source CMS |