Bug reports Found a bug? Post it here please.
Version 5.x > Bug reports > Hotfix 5.5R2.24 breaks Master To Master template inheritance View modes: 
User avatar
Member
Member
Peter - 6/1/2011 12:19:16 PM
   
Hotfix 5.5R2.24 breaks Master To Master template inheritance
Situation:

I recently updated our 5.5R2 Hotfix 5.5R2.13 system with the latest Hotfix 5.5R2.24. In this implementation we have one master template that inherits visually from another master template. Once the Hotfix 5.5R2.24 was in place this visual inheritance no longer worked. So:

Master Root
|
-- Master Home (Inherits from Root - Not Working Properly - Root elements not displaying)
|
---- Standard Page (Inherits from Root and Home - Working Properly - Both Root and Home elements displaying)

I played around for a while with the Master Home template inheritance values but nothing worked. I finally restored the old files (Hotfix 5.5R2.13) and then applied Hotfix 5.5R2.16 as we needed that version to work with a 3rd party module. Hotfix 5.5R2.16 worked without issue.

Bottom line:

Somewhere between Hotfix 5.5R2.17 and Hotfix 5.5R2.24 this Master to Master inheritance issue was introduced.

This obviously will cause a problem if at some point we would want to upgrade to a higher hotfix then 5.5R2.24 or some other major upgrade. I would be happy to provide addtional details if you need them. Please let me know if the problem can be tracked and if/when it will be fixed.

CMS version : 5.5R2 Build : 5.5.4108
OS version : Microsoft Windows NT 5.2.3790 Service Pack 2
License info : xxxxxxx, Ultimate, 1/1/0001 12:00:00 AM, 05

User avatar
Kentico Developer
Kentico Developer
kentico_ondrejv - 6/2/2011 3:51:11 AM
   
RE:Hotfix 5.5R2.24 breaks Master To Master template inheritance
Hello,

I tried to reproduce this scenario and I could see you are right - it behaves the way you described in with the latest hotfix. Therefore, I've consulted it with our developer and I was assured that this was kind of incorrect behavior and has been fixed. I mean, the master page is being considered to be on the top level and therefore it shouldn't inherit any content.

In your case, what about setting the home document page template to be a standard portal template? This way you could still inherit from it on any other "standard" page.

I'm sorry for inconvenience.

Best regards
Ondrej Vasil

User avatar
Kentico Developer
Kentico Developer
kentico_ondrejv - 6/2/2011 7:01:07 AM
   
RE:Hotfix 5.5R2.24 breaks Master To Master template inheritance
Hello,

I have an update for you. I passed it to our developer for his consideration and he found it useful so he implemented a way where the document inheritance has a higher priority than a 'Master template' setting. It should be added into the next hotfix.

Best regards
Ondrej Vasil

User avatar
Member
Member
Peter - 6/6/2011 3:11:32 PM
   
RE:Hotfix 5.5R2.24 breaks Master To Master template inheritance
Ondrej, Thanks for the update. If I understand you correctly the Master To Master inheritance issue should be fixed with HotFix 5.5R2.25 (whenever that is available)? Yes?

As for implementing the home page as a standard template (non-master) that simply isn't an option without a total site refactoring. Something we would not wish to do if it can be avoided.

User avatar
Kentico Developer
Kentico Developer
kentico_ondrejv - 6/7/2011 6:01:30 AM
   
RE:Hotfix 5.5R2.24 breaks Master To Master template inheritance
Peter,

Yes, I can confirm that this feature will be added to the 5.5.25R2 hotfix.

Best regards
Ondrej Vasil