[ https://issues.apache.org/jira/browse/MSITE-952?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Osipov updated MSITE-952: --------------------------------- Description: If a report creates subpages, thus needs subsinks, it passes a desired output name. This one is passed to {{DocumentRenderingContext#document}}. Since we know that this is a report output, this value must behave like {{MavenReport#getOutputName()}}, thus be a symbolic name. Therefore, we must strip the extension since none is passed to have it stripped by the context internally. (was: If a report creates subpages, thus needs subsinks, it passes a desired output name. This one is passed to {{DocumentRenderingContext#document}}. Since we know that this is a report output, this value must behave like {{MavenReport#getOutputName()}}, thus be a symbolic name. Therefore, we must strip the extension since none is passed to have it stripped by the context.) > MultiPageSinkFactory does not strip output name for extension > ------------------------------------------------------------- > > Key: MSITE-952 > URL: https://issues.apache.org/jira/browse/MSITE-952 > Project: Maven Site Plugin > Issue Type: Bug > Affects Versions: 4.0.0-M7 > Reporter: Michael Osipov > Assignee: Michael Osipov > Priority: Major > Fix For: 4.0.0-M8 > > > If a report creates subpages, thus needs subsinks, it passes a desired output > name. This one is passed to {{DocumentRenderingContext#document}}. Since we > know that this is a report output, this value must behave like > {{MavenReport#getOutputName()}}, thus be a symbolic name. Therefore, we must > strip the extension since none is passed to have it stripped by the context > internally. -- This message was sent by Atlassian Jira (v8.20.10#820010)