www-infrastructure-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (INFRA-3850) Issue with multiple extends tags in CMS
Date Mon, 01 Jul 2013 05:06:35 GMT

    [ https://issues.apache.org/jira/browse/INFRA-3850?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13696495#comment-13696495
] 

Hudson commented on INFRA-3850:
-------------------------------

Integrated in goraOracle #6 (See [https://builds.apache.org/job/goraOracle/6/])
    - updates to GORA-29: now just dealing with permissions issues on NEXUS, see INFRA-3850
(Revision ee60cf08b83e24acd35831152fe5959743df8f89)

     Result = FAILURE
mattmann : 
Files : 
* pom.xml

                
> Issue with multiple extends tags in CMS
> ---------------------------------------
>
>                 Key: INFRA-3850
>                 URL: https://issues.apache.org/jira/browse/INFRA-3850
>             Project: Infrastructure
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: CMS
>            Reporter: Grant Ingersoll
>            Priority: Minor
>
> Multiple Levels of Inheritance
> I have two levels of {% extends %} and it seems the second level is not getting applied.
> I have:
> main.html <- core.html <- core-simple.html
> and in core-simple.html I am overriding a block in that is defined in both main.html
and then overridden in core.html.  However, the core.html value is still being applied.
> main.html:
> {% block news %}
>     <div>{% filter markdown %}{% include "mainnews.mdtext" %}{% endfilter %}</div>
>     {% endblock %}
> core.html:
> {% block news %}
> <div>{% filter markdown %}{% include "../content/lucene/core/corenews.mdtext" %}{%
endfilter %}</div>
> {% endblock %}
> core-simple.html:
> {% extends "core.html" %}
> {#
> No news section
> #}
> {% block news %}
> {% endblock %}
> However, in those items that use core-simple.html template, I still see the results of
core.html.  I am sure the core-simple template is being passed in via my view.pm (in fact,
I printed it out), but it seems that if I actually look at the template being applied, it
is not the core-simple (or whatever else) but one of the other ones in my path::patterns.
 It's almost like Dotiac::DTL::Template is caching/using the old ones regardless of the template
passed in.
> This can be seen on the lucene.staging.apache.org site.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message