Uploaded image for project: 'Maven Doxia Sitetools'
  1. Maven Doxia Sitetools
  2. DOXIASITETOOLS-45

assembleModelInheritance modifies parent DecorationModel

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1.4
    • 1.2
    • Site model
    • None

    Description

      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.

      Attachments

        Activity

          People

            ltheussl Lukas Theussl
            ltheussl Lukas Theussl
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: