[
https://jira.codehaus.org/browse/DOXIASITETOOLS-80?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Osipov updated DOXIASITETOOLS-80:
-----------------------------------------
Attachment: model.patch
I have just realized that this comes with an annoyance: it breaks inheritance.
Testcase
{{org.apache.maven.doxia.site.decoration.inheritance.DecorationModelInheritenceAssemblerTest.testFullyPopulatedParentAndEmptyChild()}}
fails.
Revised patch.
> Decoration model missing Version and PublishDate default values
> ---------------------------------------------------------------
>
> Key: DOXIASITETOOLS-80
> URL: https://jira.codehaus.org/browse/DOXIASITETOOLS-80
> Project: Maven Doxia Sitetools
> Issue Type: Improvement
> Components: Decoration model
> Affects Versions: 1.3
> Reporter: Michael Osipov
> Attachments: model.patch, model.patch
>
>
> 1.Version and PublishDate elements define default values for their attributes
> but those aren't fully reflected in the model.
> 2. Default Version and PublishDate aren't created in order to access default
> values.
> I have patched the doxia-decoration-model accordingly. The patch is
> suboptimal due to: MODELLO-270
> The benefit of this fix is that the aforementioned attributes are also set in
> the site.vm templates of all skins. This change will allow us to remove all
> default setters (e.g. #publishDate macro) in those templates and have them in
> one single place: DecorationModel
--
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