maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lukas Theussl (JIRA)" <j...@codehaus.org>
Subject [jira] Created: (DOXIASITETOOLS-45) assembleModelInheritance modifies parent DecorationModel
Date Fri, 07 Jan 2011 21:44:57 GMT
assembleModelInheritance modifies parent DecorationModel
--------------------------------------------------------

                 Key: DOXIASITETOOLS-45
                 URL: http://jira.codehaus.org/browse/DOXIASITETOOLS-45
             Project: Maven Doxia Sitetools
          Issue Type: Bug
          Components: Decoration model
    Affects Versions: 1.1.4
            Reporter: Lukas Theussl


After calling DefaultDecorationModelInheritanceAssembler.assembleModelInheritance, the parent
DecorationModel is usually different from the original. In particular paths get relativized
because MenuItems, Links, etc. get referenced instead of copied into the merged model. I think
that only the child should be modified after the method returns, as otherwise it is impossible
to resolve another child against the same parent. I am not sure if this has any practical
consequences, as the DefaultSiteTool does not use the parent anymore after assemblance, but
it could well be the source of some subtle bugs.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message