Item8466: VIEW_TEMPLATEs are not honoured when using Local instead of Set

pencil
Priority: Normal
Current State: No Action Required
Released In: n/a
Target Release: n/a
Applies To: Extension
Component: PublishPlugin
Branches:
Reported By: MartinKaufmann
Waiting For:
Last Change By: CrawfordCurrie
When setting a topic's VIEW_TEMPLATE using the syntax * Set VIEW_TEMPLATE it gets processed during publishing. However, in case the Local syntax is used, it is ignored.

Example:
  • Using Set: If the topic looks like that
       %META:PREFERENCE{name="VIEW_TEMPLATE" title="VIEW_TEMPLATE" type="Set" value="TestTopic21View"}%
    
    The PublishPlugin output is the following:
       TestTopic21: has a VIEW_TEMPLATE 'TestTopic21View'
       TestTopic21: Rev 3 published
    
  • Using Local: If the topic looks like that
       %META:PREFERENCE{name="VIEW_TEMPLATE" title="VIEW_TEMPLATE" type="Local" value="TestTopic21View"}%
    
    The PublishPlugin output is the following:
       TestTopic21: Rev 3 published
    

-- MartinKaufmann - 04 Feb 2010

I just tested this with 2.1.3 and it works, so I guess whatever caused it has since been fixed. Closing.

-- Main.CrawfordCurrie - 07 May 2017 - 08:46

 

ItemTemplate edit

Summary VIEW_TEMPLATEs are not honoured when using Local instead of Set
ReportedBy MartinKaufmann
Codebase 1.0.9
SVN Range
AppliesTo Extension
Component PublishPlugin
Priority Normal
CurrentState No Action Required
WaitingFor
Checkins
TargetRelease n/a
ReleasedIn n/a
CheckinsOnBranches
trunkCheckins
masterCheckins
ItemBranchCheckins
Release02x01Checkins
Release02x00Checkins
Release01x01Checkins
Topic revision: r4 - 07 May 2017, CrawfordCurrie
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy