You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (JIRA)" <ji...@codehaus.org> on 2013/03/02 18:55:52 UTC

[jira] (DOXIASITETOOLS-80) Decoration model missing Version and PublishDate default values

Michael Osipov created DOXIASITETOOLS-80:
--------------------------------------------

             Summary: 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

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